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 - LESS - code completion does not offer css properties when using @media inside selector
Summary: LESS - code completion does not offer css properties when using @media inside...
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2014-08-21 15:57 UTC by Megas
Modified: 2016-10-05 13:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Bug example (7.55 KB, image/png)
2014-08-21 15:57 UTC, Megas

Note You need to log in before you can comment on or make changes to this bug.
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. 


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.