-
Notifications
You must be signed in to change notification settings - Fork 330
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
Extension not activated when there is no search.exclude
in settings.json
#1357
Comments
Thanks for the feedback. Never know there is a way to run this inside Eclipse 😲. Can you change your settings somewhere so that the |
I can confirm this workaround fixes the issue in Theia IDE 1.50.100: no error message, extension loads and mostly works. Could you add the null check anyway? It seems Theia is still missing Note that Theia IDE (formerly also Theia Blueprint) is the VSCode alternative of the Eclipse Foundation, not the Eclipse IDE. |
With the workaround some stuff is still broken:
Everything else I have tested so far has worked perfectly! |
Hi, thanks for the information. Would you minding opening a PR for the null check? It should be very simple but I would like to also add a few comments about Eclipse Theia along with the code change and I believe you definitely have more context than me. |
What's the problem
I integrated the extension into Eclipse Theia. After launching I got the error message
Activating extension 'Markdown All in One' failed: Cannot convert undefined or null to object
and the extension was not actived.What's the expected result
The extension should activate also with empty (null, undefined)
search.exclude
pattern.How to reproduce
markdown-all-in-one
to package.json, copy"markdown-all-in-one": "https://open-vsx.org/api/yzhang/markdown-all-in-one/3.5.1/file/yzhang.markdown-all-in-one-3.5.1.vsix",
into thetheiaPlugins
section.yarn && yarn build:dev && yarn download:plugins
followed byyarn electron package
yarn electron package:preview
Other information
The problem is in the constructor of
MdCompletionItemProvider
in the block where the exclude patterns are constructed.manager_1.configManager.getByAbsolute("search.exclude", folder)
returns undefined and then thefor()
breaks.The text was updated successfully, but these errors were encountered: