theia-blueprint
theia-blueprint copied to clipboard
Problem opening files from File Explorer
Bug Description:
Hello: I tried to open a php file from the file scan and opening the context menu to select with which application to open it. But selecting TheiaBluePrint only opens the editor but does not open the php file. I can only open it from the file menu of the TheiaBluePrint. I put together pictures to explain the problem.
Steps to Reproduce:
- Open File Exprorer
- Select a PhP file and check contextal menu to indicate "Open with" 3.Select TheiaBluePrint
Additional Information
- Operating System: Windows 7 Prof
- Theia Version:1.24.0
Hi, thank you for the report. I can reproduce the issue.
After a first investigation I think the issue is that Theia tries to parse the opened file as a workspace-configuration-file, which leads to a warning similar to this: root WARN Not a valid workspace file: /c:/Users/user/git/theia-blueprint/README.md
Since the file is not a valid workspace file, parsing will fail, and it will open with an empty workspace.
We'll have to check how Theia may support this