Adding Extra lib execution to fast for key naming convention
See original GitHub issuemonaco-editor version: 0.9.0 Browser: Google Chrome Version 61.0.3154.0 (Official Build) canary (64-bit) OS: Windows 10 Enterprise Steps assume monaco editor is already installed and createEditor has already been called. Steps or JS usage snippet reproducing the issue:
Load libraries statically:
// this._typescriptExtraLibs is used to dispose later
this._typescriptExtraLibs = monaco.languages.typescript.typescriptDefaults.addExtraLib(person.toString());
this._typescriptExtraLibs = monaco.languages.typescript.typescriptDefaults.addExtraLib(animal.toString());
this._typescriptExtraLibs = monaco.languages.typescript.typescriptDefaults.addExtraLib(flee.toString());
this._typescriptExtraLibs = monaco.languages.typescript.typescriptDefaults.addExtraLib(color.toString());
Receive error at: line 39, column 1220 (minified script) Error: Uncaught Error: ts:extralib-1499848020086 already a extra lib My conclusion: I stepped through the code and notice that due to the way that the keys in the this._extraLibs are generated using the date it has conflicts due to “too fast” processing.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to deal with libraries that use different naming conventions?
Accept and use each library's preferred naming preferences. To do anything else would add a layer of abstraction between the true names and ......
Read more >3. Shared Libraries - The Linux Documentation Project
The key to managing shared libraries is the separation of these names. Programs, when they internally list the shared libraries they need, should...
Read more >Naming conventions | Cloud APIs
Google APIs must use product names approved by the product and marketing teams. The table below shows examples of all related API names...
Read more >Extending with Shared Libraries - Jenkins
A Shared Library is defined with a name, a source code retrieval method such as by SCM, and optionally a default version. The...
Read more >How to Write Beautiful Python Code With PEP 8 - Real Python
This tutorial outlines the key guidelines laid out in PEP 8. ... When you write Python code, you have to name a lot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@JohannWNel That indeed solved it. Thanks a lot!
Closing as this will not be fixed.