You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REFORMAT YOUR CODE! Click the "pencil" icon and wrap all your code in triple back ticks.
I understand your concern, but please don't walk into the banquet hall and immediately fart on everybody's plate. There's a "Github Flavoured Markdown" link right above the editor, with a "preview" tab as well. Use that!
Take a few moments to understand your community before posting. Here, Stack Overflow, etc.
@leedorian, most likely the problem is not in your less code itself but in some configuration/enviroment stuff used. For instance, it could be one of "sourcemap" options used (or not used) for the compilation and/or chrome version/settings. Take a look at #1050, you'll find a couple of "usage tips" closer to its end.
Yes, its possible there is a bug in the sourcemap code, I will need to
investigate. Also possible its chrome, the sourcemaps less generate can end
up much more complex and strange than say a JavaScript minifier.
@leedorian thats because the whole file is wrapped in a single selector. Hold down control and click on the property that you are interested in - it will take you to the correct property. The problem is that less tells chrome
#homepage- begins line 1 .sidebar - begins line 8 ul - begins line 11
Activity
Soviut commentedon Dec 5, 2013
Please provide more information. Are you using less.js, are you dealing with a compiled source map, etc.
leedorian commentedon Dec 5, 2013
I'm using grunt-contrib-less to compile my less;
This is my main.less
Soviut commentedon Dec 5, 2013
REFORMAT YOUR CODE! Click the "pencil" icon and wrap all your code in triple back ticks.
I understand your concern, but please don't walk into the banquet hall and immediately fart on everybody's plate. There's a "Github Flavoured Markdown" link right above the editor, with a "preview" tab as well. Use that!
Take a few moments to understand your community before posting. Here, Stack Overflow, etc.
Synchro commentedon Dec 5, 2013
Where's a like button when you need one? I fixed the markup...
leedorian commentedon Dec 6, 2013
Sorry for the messy code, this is my first time use code block in comment.
seven-phases-max commentedon Dec 6, 2013
@leedorian, most likely the problem is not in your less code itself but in some configuration/enviroment stuff used. For instance, it could be one of "sourcemap" options used (or not used) for the compilation and/or chrome version/settings. Take a look at #1050, you'll find a couple of "usage tips" closer to its end.
leedorian commentedon Dec 6, 2013
This is my example code.
http://lipeng.name/less/html/test.html
leedorian commentedon Dec 9, 2013
@seven-phases-max , I found a repository that use lessc to generate source map for bootstrap, it also got the line number isuue. umaar/bootstrap-source-map-example#1
lukeapage commentedon Dec 9, 2013
Yes, its possible there is a bug in the sourcemap code, I will need to
investigate. Also possible its chrome, the sourcemaps less generate can end
up much more complex and strange than say a JavaScript minifier.
matthew-dean commentedon Dec 20, 2013
@Soviut Settle down, buddy, lol.
lukeapage commentedon Feb 23, 2014
@leedorian thats because the whole file is wrapped in a single selector. Hold down control and click on the property that you are interested in - it will take you to the correct property. The problem is that less tells chrome
#homepage- begins line 1.sidebar- begins line 8ul- begins line 11and chrme only looks at the first line.
lukeapage commentedon Feb 23, 2014
duplicate of #1492
leedorian commentedon Mar 11, 2014
Thanks, lukeapage, you are right.