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 246617

Summary: LESS - code completion does not offer css properties when using @media inside selector
Product: web Reporter: Megas
Component: CSS Preprocessors (SASS, LESS, ...)Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Bug example

Description Megas 2014-08-21 15:57:09 UTC
Created attachment 148820 [details]
Bug example

When using @media selector in LESS inside another class and trying to use autocomplete function, IDE shows autocomplete list for HTML, not for CSS options.
See attached screenshot for better understanding.

Code example:
.a {
	color: #fff;
	
	@media print {
		di|  <--- Cursor is here
	}
}
When i write "di" and call autocomplete menu, i'm expecting to get list of CSS options, like "direction" and "display", but receiving HTML autocomplete menu instead.
Comment 1 Vladimir Riha 2014-08-21 16:16:07 UTC
Thank you for reporting, actually you should get both, CSS properties and HTML elements. 

Reproducible


Product Version: NetBeans IDE 8.0.1 (Build 201408202300)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 2 Megas 2016-10-05 13:59:03 UTC
Sad to see that this bug was reported more then 2 years ago. And now Netbeans 8.2 released, but it still not fixed.