gentoo-ebuilds/app-editors/vscode/files/code.desktop
Sv. Lockal a6d4f932de
app-editors/vscode: sync misc files with deb/rpm packages
Current package installs vscode from tar.gz, therefore some files are
shipped in FILESDIR were missing/obsolete:

* StartupWMClass in desktop files was removed (bug #963205)
* code-open-in-new-window is now an action of code.desktop
* Added files for mime-types and app metadata
* Added shell-completions

Closes: https://bugs.gentoo.org/963205
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/44716
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-11-26 14:41:06 +02:00

28 lines
No EOL
765 B
Desktop File

[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/bin/vscode @exec_extra_flags@ %F
Icon=vscode
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Name[cs]=Nové prázdné okno
Name[de]=Neues leeres Fenster
Name[es]=Nueva ventana vacía
Name[fr]=Nouvelle fenêtre vide
Name[it]=Nuova finestra vuota
Name[ja]=新しい空のウィンドウ
Name[ko]=새 빈 창
Name[ru]=Новое пустое окно
Name[zh_CN]=新建空窗口
Name[zh_TW]=開新空視窗
Exec=/usr/bin/vscode @exec_extra_flags@ --new-window %F
Icon=vscode