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.

Bug 253810 - Filtering out CSS problems requires IDE restart with NodeJSWeb Application
Summary: Filtering out CSS problems requires IDE restart with NodeJSWeb Application
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-26 16:41 UTC by Vladimir Riha
Modified: 2015-08-27 01:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (37.66 KB, text/plain)
2015-07-26 16:41 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-07-26 16:41:01 UTC
Created attachment 154909 [details]
IDE log

Please try following:
  - create a new HTML5/JS application with nodejs
  - add style.css with following content to site root:

body {
    background-color: #cdcdcd
   font-family: Helvetica, Arial, sans-serif;
}


  - IDE should mark the file with error badge and underline the line with error
  - filter out all CSS errors in given file
  => error is no longer underlined in editor, but both file and project still have the error badge. One needs to either restart IDE or close/open the project.


Thank you


Product Version: NetBeans IDE 8.1 Beta (Build 201507231027)
Java: 1.8.0_60-ea; Java HotSpot(TM) Client VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
User directory: /home/vriha/.netbeans/8.1beta
Comment 1 Milutin Kristofic 2015-08-04 15:03:02 UTC
Reproducible, I will look at the solution, but it is a mess.
Comment 2 Milutin Kristofic 2015-08-25 15:39:20 UTC
Ok, I found why this is happenning. In Html Project root classpath is HtmlProject/public, but in Nodejs html project it is NodeProject. 


I am trying to get root right with classPath. I am not sure if this works for all type of projects. Calling right root is very important in TaskCache. 

http://hg.netbeans.org/web-main/rev/274bd526977a
Comment 3 Quality Engineering 2015-08-26 01:23:42 UTC
Integrated into 'main-silver', will be available in build *201508260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/274bd526977a
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #253810 - Filtering out CSS problems requires IDE restart with NodeJSWeb Application
Comment 4 Milutin Kristofic 2015-08-26 12:36:47 UTC
Suggestion by tzezula http://hg.netbeans.org/web-main/rev/d4c400e1b224
Comment 5 Quality Engineering 2015-08-27 01:21:36 UTC
Integrated into 'main-silver', will be available in build *201508270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d4c400e1b224
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #253810 - Filtering out CSS problems requires IDE restart with NodeJSWeb Application