You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fbricon opened this issue
Dec 12, 2016
· 5 comments
Assignees
Labels
apibugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseimportantIssue identified as high-priorityverifiedVerification succeeded
Frequently, running vscode-java from source on a folder containing a java project, the Java Language Server fails to start because the workspace path that is sent is /undefined/redhat.java.
On the next start, the path would be something like /Users/username/Library/Application Support/Code - Insiders/User/workspaceStorage/644625e5a6a01f8af867112db58dc2e6/redhat.java
I haven't found a pattern to reproduce the issue reliably, but it's pretty frequent.
The text was updated successfully, but these errors were encountered:
jrieken
added
api
bug
Issue identified by VS Code Team member as probable bug
important
Issue identified as high-priority
candidate
Issue identified as probable candidate for fixing in the next release
labels
Dec 13, 2016
1 - open a folder containing a java project, storagepath is set
2 - while vscode is opened, open a separate, standalone file from another folder
3 - close and reopen vscode
4 - both the standalone file and the project folder are reopened, but the standalone file takes precedence somehow and an undefined storagePath is returned.
If ^^ is not possible directly from vscode/storagePath then, is there a way, from an extension perspective, to determine what files/folders are opened during activation, so we can compute the appropriate workspace ourself?
Each VS Code window is independent and has its own 'scope'. Wrt the storagePath the rules are that when a folder has been opened it is defined, and in case of a file it is undefined
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
apibugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseimportantIssue identified as high-priorityverifiedVerification succeeded
Steps to Reproduce:
Frequently, running vscode-java from source on a folder containing a java project, the Java Language Server fails to start because the workspace path that is sent is
/undefined/redhat.java
.On the next start, the path would be something like
/Users/username/Library/Application Support/Code - Insiders/User/workspaceStorage/644625e5a6a01f8af867112db58dc2e6/redhat.java
I haven't found a pattern to reproduce the issue reliably, but it's pretty frequent.
The text was updated successfully, but these errors were encountered: