-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create a new file if the preferences widget is opened. #7067
Labels
bug
bugs found in the application
help wanted
issues meant to be picked up, require help
preferences
issues related to preferences
Comments
Anasshahidd21
pushed a commit
to Anasshahidd21/theia
that referenced
this issue
Mar 9, 2020
Fixes: eclipse-theia#7067 , eclipse-theia#7253 Initially we were unable to create a new file or folder while the user preferences was open. The user-preferences has the file scheme set as `user-storage` and we did not fall back to the workspace root URI and instead were getting the URI from 'user_storage:settings.json'. With this approach, we create files at certain directories and if a directory doesn't have the scheme set to 'file' it will fallback to the workspace root uri. Signed-off-by: Muhammad Anas Shahid <[email protected]>
1 task
Anasshahidd21
pushed a commit
to Anasshahidd21/theia
that referenced
this issue
Mar 10, 2020
Fixes: eclipse-theia#7067 , eclipse-theia#7253 Initially we were unable to create a new file or folder while the user preferences was open. The user-preferences has the file scheme set as `user-storage` and we did not fall back to the workspace root URI and instead were getting the URI from 'user_storage:settings.json'. With this approach, we create files at certain directories and if a directory doesn't have the scheme set to 'file' it will fallback to the workspace root uri. Signed-off-by: Muhammad Anas Shahid <[email protected]>
Anasshahidd21
pushed a commit
to Anasshahidd21/theia
that referenced
this issue
Mar 10, 2020
Fixes: eclipse-theia#7067 , eclipse-theia#7253 Initially we were unable to create a new file or folder while the user preferences was open. The user-preferences has the file scheme set as `user-storage` and we did not fall back to the workspace root URI and instead were getting the URI from 'user_storage:settings.json'. With this approach, we create files at certain directories and if a directory doesn't have the scheme set to 'file' it will fallback to the workspace root uri. Signed-off-by: Muhammad Anas Shahid <[email protected]>
lmcbout
pushed a commit
that referenced
this issue
Mar 25, 2020
Fixes: #7067 , #7253 Initially we were unable to create a new file or folder while the user preferences was open. The user-preferences has the file scheme set as `user-storage` and we did not fall back to the workspace root URI and instead were getting the URI from 'user_storage:settings.json'. With this approach, we create files at certain directories and if a directory doesn't have the scheme set to 'file' it will fallback to the workspace root uri. Signed-off-by: Muhammad Anas Shahid <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
bugs found in the application
help wanted
issues meant to be picked up, require help
preferences
issues related to preferences
Description
File: New File
(command or keybinding) has no effect if the preferences widget is opened.Reproduction Steps
File: New File
from the command palette, or with Ctrl/Cmd+N.It is just a guess, but we do not fall back to the workspace root URI, as the parent of the new file, but get the URI from the preferences editor which is
user_storage:settings.json
.If I close the preferences widget, it works.
OS and Theia version:
Diagnostics:
The text was updated successfully, but these errors were encountered: