Ignore certain parts of files
See original GitHub issueI would appreciate if there was a way for scss logical code not to be processed.
.blocks {
font-weight:bold;
// from here
@each $id, $data in $section-colorscheme {
$body: map-get($data, body);
$class: map-get($data, class);
$base: map-get($data, base);
$lite: map-get($data, lite);
$dark: map-get($data, dark);
body#{$body} & { background-color: $lite; }
&#{$class} { color: $base; background-color: $dark; }
@if $id == beta {
&::before { content: 'BBB'; }
}
}
// to here
}
I figure it’s complicated so I was wondering if there could be ignore comment command:
.blocks {
font-weight:bold;
// csscomb:ignore:start
@each $id, $data in $section-colorscheme {
$body: map-get($data, body);
$class: map-get($data, class);
$base: map-get($data, base);
$lite: map-get($data, lite);
$dark: map-get($data, dark);
body#{$body} & { background-color: $lite; }
&#{$class} { color: $base; background-color: $dark; }
@if $id == beta {
&::before { content: 'BBB'; }
}
}
// csscomb:ignore:end
}
Thanks in advance
<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5501949-ignore-certain-parts-of-files?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github). </bountysource-plugin>Issue Analytics
- State:
- Created 9 years ago
- Reactions:36
- Comments:16 (3 by maintainers)
Top Results From Across the Web
How to ignore parts of your file - How Do I Use Beyond Compare
How to ignore parts of your file · 1. Session->SessionSettings->Importance->EditGrammar->Grammar->[+] · 2. Then choose Category->Lines. Set that window similar to ...
Read more >How to ignore certain parts of a line in text file in Python?
I'm attempting to extract the numerical information from an input.txt file I have below. size ...
Read more >.gitignore File – How to Ignore Files and Folders in Git
Inside .gitignore , you can tell Git to ignore only a single file or a single folder by mentioning the name or pattern...
Read more >Ignoring Code
Use .prettierignore to ignore (i.e. not reformat) certain files and folders completely. Use “prettier-ignore” comments to ignore parts of files.
Read more >Ignore parts of the code | JetBrains Rider Documentation
To ignore the current file, press Ctrl+Alt+Shift+8 . To ignore a part of a file, add the // ReSharper disable All comment before...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@awanderingorill @klojniewski @JPLachance @noslon You can react directly on a post without adding noise to this issue by clicking on the ‘thumbs up’-emoji:
Hi All!
I’m closing this because unless a PR is created it won’t likely be addressed. If you feel strongly about this request I encourage you to dig in and submit a PR 😸