Open liviuu opened 5 years ago
Sorry for asking a completely unrelated question, but are those library types static as in
declare function importLibrary('Foo'): FooType;
or are they dynamic as in you generate typings on the fly for the code inside the library? If it is the latter, would you mind giving a short summary of how you accomplish that? We have a scenario where the code inside the library is user-defined, so we cannot know the types in advance, nor can we analyze them before deploying our application.
Thanks in advance! 🙇
For the record on the latest build, wordBasedSuggestions
does indeed work for custom languages. It does still not work for language=javascript.
AFAICT wordBasedSuggestions
is read from the configuration service directly, it does not get read through editor options here -- https://github.com/microsoft/vscode/blob/68db7fc3f79e4fa8438343d9040d6b8aff6020d1/src/vs/editor/common/services/editorWorkerServiceImpl.ts#L148.
monaco-editor version: 0.17.0 Browser: Chrome OS: Windows 10 monaco editor with custom added typescript definition files. for language = javascript Intellisense shows all words ignoring the wordBasedSuggesions setting.
See below. Clearly all symbols except ArrayUtils ( provided by a d.ts ) are not fit as a property of variable a.