eclipse-theia/theia
workspace: correct the file filters for 'open workspace...'
开放
#8,179 创建于 2020年7月15日
dialogsfile dialoghelp wantedworkspace
仓库指标
- 星标
- (18,676 个星标)
- PR 合并指标
- (平均合并 15天 4小时) (30 天内合并 75 个 PR)
描述
Bug Description:
The 'open workspace...' dialog incorrectly includes the 'all files' filter meaning that the application allows any file to be opened as a workspace which is incorrect. There is logic to reject opening the file if it is not of the correct type, but we should also adjust the filter as to not be able to choose incorrect file types.
The correct file types are the following only:
*.theia-workspace*.code-workspace
Steps to Reproduce:
- start the application (browser or electron)
- trigger the
open workspace...command - notice that the
all filesfilter is set - attempt to open a file which is not correct (an error should appear)
- we should fix the filter to correct this issue