I remember some time ago some of my extensions would show an indicator icon that the extension is enabled or installed only for current workspace (ex. not enabled globally)
Right now I don't see these indicator icons in my extension view, the only indicators I see are the small blue check marks identifying verified publishers:
My question is:
How do I enable viewing indicators in similar manner to show if extension is installed\enabled in current workspace only?
Btw. when I hover over extensions I see they say this extension is enabled globally but there aren't any indicator icons.
Secondary question, how do you make an extension not enabled globally but only for workspace?
EDIT:
I've found the following link which shows some indicators when searching for and filtering extensions, it seems no such indicators exist when there is no filter applied?
https://code.visualstudio.com/docs/editor/extension-marketplace
Related
Where I can find good documentation for every available settings.json configuration option so I can configure VS code however I like to?
There isn't an official maintained list of everything, but you can find some guides in the VS Code Documentation.
For theme color reference, you can see the list at Theme Color documentation.
The closest to what you want may be pressing Ctrl+, (or by using the gear menu in the bottom left), you can open a GUI that will show all configurable settings and allow you to search them. For some things, it will tell you to edit it in the settings.json instead, though. In which case, you may need to to look at the documentation for usage instructions.
I have researched like the whole internet about Visual Studio Code and didn't find any information about workbench (explorer with the project directories and files) entries line height.
How can I change the line height in the workbench?
I am asking, because this standard line height in Version: 1.65.2 is too huge for the project with many directories and files. I want to see relevant directories and files in the right structure without continuing scrolling, so I have to decrease this line height.
It is impossible out of the box, but possible with the extension "Customize UI".
Link to the extension: Customize UI for VS Code
Last Update info as of 2022-11-16:
More Info
Version 0.1.65
Released on 6/6/2019, 7:47:09 AM
Last updated
9/25/2022, 3:51:30 AM
Publisher iocave
Unique Identifier iocave.customize-ui
Feature list from the Customize UI README:
This experimental extension allows customizing VSCode user interface beyond what's
normally possible, such as:
Changing interface fonts
Inline titlebar on macOS
Activity bar below sidebar
Custom stylesheet rules conveniently specified in settings.json
In my vscode extension, I want to show a badge count on the viewsContainers icon, just like this:
Is there any way to do this? Thanks for your help.
That could be part of VSCode 1.72 (Sept. 2022), since issue 62783 was implemented with PR 159679.
It is available today in VSCode insiders.
badges on custom activities added to activity bar by extensions
It would come helpful if extensions which create new activity in activity bar could also display a badge with a count. For example Gruntfuggly/todo-tree#22 has request to show number of TODO/FIXME found in the project.
Note: with PR 157462, you will also be able to hide search result decoration:
search.decorations.colors: Controls whether search file decorations should use colors.
search.decorations.badges: Controls whether search file decorations should use badges.
I'm currently using vscode 1.36 and there is a top section that I want to hide, but I can't find any setting to perform this.
Click here for the screenshot
the X on the right won't fix the problem
I've already searched on Google but found nothing interesting except writing custom css using an extension. I don't like this approach.
Note that I've disabled tabs using this setting:
"workbench.editor.showTabs": false
I am using the Dark theme in Eclipse Oxygen. When I hover over a class to view the Javadoc, the links are in blue and very hard to see
I have tried editing the hyperlink color in Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Hyperlink text color but that didn't work. Under the Java section in Colors and Fonts there is an entry to edit Javadoc background and Javadoc text color, but I see nothing for Javadoc hyperlink color or something like that. I could change the background color as a workaround but that breaks the dark theme and I'd rather not.
The short answer is you can't because it's system dependent.
Among the many other ongoing dark-theme bugs that need to be fixed, the particular bug you've found has been recently reported here as bug 517393. The target fix for this bug is in Eclipse Photon (4.8) Milestone 2.
I've figured out a workaround for this issue at least for Windows.
On Windows, Eclipse's html renderer follows Internet Explorer's option for changing color of webpage. So, if you do not use Internet Explorer or just do not mind such change of all webpage, let's go!
Please note that some desciption below may not be accurate since I do not use an English version of Windows.
Open IE, click GEAR icon at top right corner - choose Internet Optioin - click Color at the bottom - uncheck Use Windows Color - change the color of Visited and Unvisited, and the rest two to suit your need if you use dark theme in Eclipse. Apply the change.
Then click Accessibility (on the right of Font) - check Omit Color - Apply the change.
It's done.
For those who are like me still stuck with an older Eclipse IDE like 4.7.3 (without the fix of the bug mentioned in the first answer) and are using Windows:
The workaround in the previous answer does not work if you have Microsoft Edge installed instead of Internet Explorer. Reason: Microsoft Edge does not let you change the link color. There are Chrome Extension that you can install but this didn't work for me either.
Another solution could be to switch Windows to "High contrast mode". Someone even managed to change the link color for Eclipse. I accidently found this "temporary" workaround:
Start Eclipse
Activate Windows "High contrast mode"
Eclipse wants to be restarted. Say yes.
Deactivate Windows "High contrast mode"
Again, Eclipse wants to be restarted. Again, say yes.
Now the Javadoc popup looks like in "Light" theme!? So links are very easy to see now.
However, that's not a really comfortable workaround: it needs some time and you have to repeat these steps after every reboot. My "favorite workaround" for now, is to select the link text in the Javadoc popup with the mouse, so that the link text is displayed with a more readable background/foreground color combination.