Unable to open project in VS Code - visual-studio-code

I'm trying to open a project in VS Code. But I also have the same project open in IntelliJ in my laptop. Is it not possible to open a project in two different IDEs at the same time?
I am able to open other projects in vs code, but if I already have a project open intellij, I cannot open that in vs code. Is this not allowed in VS code?
Should I change anything in the settings of VS code??

Try right-clicking on the header "Explorer" in the Explorer sidebar where your open folder(s) usually appear. Two options, "Open Editors" and "Folders" will appear. Click "Folders" to make it checked and your folders will appear.

Related

Remember previously open files when launching Visual Studio Code to edit a file

If I launch Visual Studio Code directly it remembers all the files I had open previously. The issue I have is if I (under Win10) right click a file and select "Open With Code". If VS Code is already open everything is file. If VS Code is not open, it will launch and open the file, but forget all the files I had previously opened.
This seems like unexpected (and non-consistent) behavior. Is there a way to get VS Code to launch from "Open With Code" but have it also open all the files I had opened previously? Basically, act the same as if VS Code was already opened when I clicked on "Open With Code".
Add the following line to your setting.json (Code Menu > Preferences > Setting)
"window.restoreWindows": preserve
This issue seems to cover exactly your case and has been resolved here

Visual studio code notification asking if I want to exclude Java project settings files or not

I suddenly got this notification when open a flutter project in vs code:
Do you want to exclude the Visual Studio Code Java project settings files (.classpath, .project. .settings, .factorypath) from the file explorer? (options: Exclude Globally, Exclude in Workspace, Never)
I chose Never for the time being, but I was wondering what it even implies?
This is a prompt that comes from the Java extension from VS Code:
https://github.com/redhat-developer/vscode-java/blob/06793b174437fee55985c62917f08da926f37058/src/settings.ts#L73
I guess it's asking whether you want those java-related project files to show up in the VS Code explorer side bar, or be hidden (if you choose to exclude, it will write exclusions into your VS Code settings so they are hidden).

Open folder in Explorer from VS Code

Say I have a project/folder open in VS Code and I want to open the folder in Windows Explorer, is there keyboard shortcut or a VS Code Extension for that? Sometimes I also need to go to the project folder in command prompt.
In Visual Studio 2017, there's a menu option to open the folder and an extension for quickly getting to the project folder in command prompt -- see below:
How do I handle these in VS Code?
Right click on a file or folder from the left side explorer of VSCode, then select "Reveal in Explorer". Now you can see the folder in windows explorer.

Eclipse - files open with no tab title or and empty content window

I just installed Eclipse on a computer and it has been working fine for the past few days. However it suddenly stopped working this morning.
When I double click a file in the File Explorer to open it, nothing happens - a new tab is opened, but the tab has no title, just a button to close the tab. The "contents" of the tab is just a light blue screen, with no text.
I have tried the following procedures, with no success:
Right click > Open with > various Eclipse editor
Reset perspective (I am in Java EE perspective)
Change perspective to Java
Opening different file formats (.java, .properties, .xml, etc)
F3 and Ctrl-Shift-T
Creating a new project and opening a file from there
Restarting, cleaning workspace
When I open a different workspace, the files open as usual, but I still want to use my old workspace.
I am using Eclipse JEE Oxygen.
Doing a re-install fixed the problem.
Try to create a new workspace and put all your projects there from the old one.
If it does not work, it's likely that there is an error in one of the projects, try to find it, delete the project from the new workspace 1 and try to open the file, repeat it until the file opens, if you make a mistake in 1 of the projects, then you can create new classes. and copy there codes from the old ones.
P. S. If nothing works, you can download INTELIJ and open your workspace there (generally Intelij is more comfortable than Eclipse in my opinion)

Empty Sidebar on Visual Studio Code on File -> Open

I have been using Visual Studio Code for sometime and its really amazing so far. But often I stumble upon an issue where if I import project through File->Open I end up with empty sidebar. If I do cmd+P to load files, files are available but its just not visible on sidebar.
Trying open projects with File->Open Recents or Ctrl+R also dint work out.
After reporting the issue to Visual Studio Code's github link, they have resolved the issue pretty fast.
Reason
Users who had file explorer hidden in 1.15 release might not see file explorer and also cannot retrieve it after upgrading to latest version. Workaround is to upgrade to insiders containing the fix or clear cache for that folder as follows:
Steps
Close the window opening the folder that has this issue
Open new empty Window
Run command Developer: Toggle Developer Tools
Go to Application Tab in Developer tools
Select file:// under Local Storage section in the menu on the left
Search for the key workbench.explorer.views.state using Filter inputbox
Select the folder with this key and Delete it
Now open the folder in VS Code and you should be seeing the file explorer.