This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||Opening C/C++ file starts parsing of 188 js files|
|Component:||Editor||Assignee:||Martin Fousek <marfous>|
|Severity:||normal||CC:||issues, tzezula, vv159170|
|Issue Type:||DEFECT||Exception Reporter:|
Description Alexander Simon 2011-01-28 13:27:04 UTC
Steps to reproduce: - start IDE from fresh user dir - create C/C++ application - open main.cpp file in editor Actual behavior: - Scanning projects progress bar - Indexing 188 *.js files ( like to: jar:file:/export/home/as204739/cnd-main/nbbuild/netbeans/ide/jsstubs/allstubs.zip!//stub_dom2_HTMLHtmlElement.js) Expected behavior: - No indexing of *.js files.
Comment 1 Tomas Zezula 2011-01-28 13:32:09 UTC
Comment 2 Petr Hejl 2012-09-18 13:08:53 UTC
Should be reevaluated for 7.3.
Comment 3 Martin Fousek 2012-09-21 07:17:43 UTC
Due to also issue #218708 I tried to move the GlobalPathRegistry registry to the JsLanguage#getLexerLanguage(). It's a hack but since the registration happens in JsLanguage, it always was. :/ This should be entry point for all JS features and on the other hand it's not called immediately after any project opening. Hard to guess if it will behave correctly in all cases, it worked to me well at least for languages which embed JS, for plain JS, with empty userdir, tests. We have probably enough of time to figure out if that solution is stable and flawless enough. web-main #536fe324d2c0