VS Code: Is it possible to theme the selected folder in explorer view? - visual-studio-code

While using VS Code in larger projects, I have trouble seeing which file and folder I have open.
My current explorer looks like this:
I can see a selected folder, but that quickly becomes difficult to see when I am in a project with hundreds of folders and/or files.
I'd like the selected folder to look like this. (Purely to illustrate this I've selected all the files in the current folder)
But with the open file highlighted somehow.
Is it possible to theme the explorer view in this way?

Related

How to show a structure (list of classes/methods/functions) of a source file on GitHub?

While browsing the source code of many projects on GitHub, I often want to quickly get to know the structure of a long C++/Python/JS/Go/Rust source file e.g. ImHex' window.cpp, without cloning the repo or downloading the source file and opening it in my code editor. For example, Notepad++ shows a list of functions in this file:
But is there a bookmarklet/extension/user script to show it on GitHub website, as a sidebar next to the source code? Otherwise, which libraries can I use to create it?
By pressing the dot key while viewing a source file on GitHub, VS Code Online will be opened, which has the outline pane:
That said, there are also JS/CS libraries which show an outline/structure view:
Symbols Tree View
Structure View
Brackets Outline List

any idea why the visual studio code project directory ui displays differently for this scenario?

I'm working on a React project in Visual Studio Code. For some reason, the subdirectory structure that I just added displays subdirs via slashes () instead of rendering the subdirs in a treeview:
Any idea why VS Code would do this? Other subdir structures in the project display as normal treeviews as expected
Probably because those folders are empty and contain empty folders also
Try adding files to them it won't display that way anymore
NB: There's no big deal with that display
Now if you want it to display normally:
Select Preferences,then Settings. Then Search for "compact folders" and uncheck the checkbox

VSCode: open files related to a given project on a specific editor side

I am working on a vscode workspace, and in this workspace I have two separate projects that I need to constantly open files from one or the other. The explorer window on the left shows both projects, and were added using the Add folder to workspace... option if it's useful to know.
Now, since the projects have similar structure (both have an api.py file for example), I started keeping the open files from project1 on the left side of the editor, and I'm using the right side for project2. When I open a new file, it gets placed on the side of the screen that I have currently focused.
What I would like, is to know if there's an option to force files from project1 to stay on the left, and files from project2 to stay on the right.
The image below shows what I am trying to accomplish
This issue appears to be exactly on point:
Open files from folders in a fixed editor group.
Unfortunately, it was put on the backlog candidate list and didn't get the necessary votes and so was closed. So no built-in way to do this. Might be a good extension candidate.

Eclipse: How can I see the file structure?

I have been using IntelliJ till now and have switch to Eclipse because reasons.
In IntelliJ, I can see the file structure by Cmd + F12. It pops ups something like this:
How do I get a similar thing in Eclipse?
Based on your image, I don't think you are looking for the directory structure but rather the code outline which shows things like classes, variables, and methods.
This is found in the following menu: Window-> Show View -> Outline
If you are looking for the directory structure, the package explorer on the lefthand side will show you your project. It might be minimized, the icon is 2 small boxes one on top of each other like so:
click on that and it will show you the workspace.

Is there a way to show open files not in thumbnails in eclipse?

Is there a way to have a view with all opened files?
The only way I can see open files is via the thumbnails and I would prefer to have a list like the package explorer (but just with the files that are opened)