Silly suggestions SASS VS Code - sass

I don't want to turn suggestions off altogether. I just want them to not be this dumb. How do I tell VS Code to stop doing this when editing SASS? It is really weird because I don't find things like variable names being suggested. Current functionality yields only these type of annoyances, and I've got the useful "editor.acceptSuggestionOnCommitCharacter": false already, which greatly improved experiences when editing JS and HTML, JSON and more. But, here, this setting seems ignored.
Perhaps the answer I'm looking for is to the question, "Where are these red($color) suggestions coming from and how do I turn that off?"
BTW, my example with the string value "red" is something I do just to make it really obvious my SASS is being compiled/watched.

There are a bunch of suggestions you can turn off in settings. For example:
Editor > Suggest: Show Colors is true by default, disabling it you won't get those color suggestions anymore.
Under Editor > Suggest: ... there are lots more you might want to disable.

Related

Is this done with one paragraphy style?

i just noticed the line spacing are always the same, and was wondering if there's a magic way to use one paragraphy style to realize this layout? Thanks in advance
i tried the settings of paragraph style but still dont know how it works.

How to configure tablecellproperties in ckeditor 5

Maybe because I am an autodidact, but eventho I've coding for some years I cannot seem to figure this out. I feel like a noob. And this is a lot of text for a rather small question.
I set up ckeditor 5 without problems. But I need to be able to use tables and do a little formatting. Adding tables was not a problem either.
But then I needed to adjust the vertical alignment of the tablecells. There's a nice description of how to use colors, but that's no what I need.
Currently I have my tabel's contenttoolbar configured like this
contentToolbar: [ 'tableColumn', 'tableRow', 'mergeTableCells', 'tableProperties', 'tableCellProperties' ]
Then I want to configure the table(cell)properties, something like this:
tableCellProperties: { verticalAlignment: [ 'top', 'bottom' ] }
Now I know whatever I wrote next to tabelCellProperties is not correct. But I just haven't got a clue what I write there. I searched through the ckeditor docs, Stackoverflow, googled to other sites. I just can't seem to find what must be done.
Solved it...
Apparently my custom build had missed the plugins TableProperties and TableCellProperties. Eventho I was quite sure I had them selected, I had not.
I created a new build, et voilá! It works like a charm.
Tip for airheads like me: Make a screenshot of your build, because its hard to tell afterwards what you did or didn't include.

custom syntax highlighting rmd

I would like to be able to customize the syntax highlighting used with RMarkdown so that I can, for example, draw attention to functions coming from a certain package.
I noticed an option mentioned in the knitr NEWS document which says this option can be set via:
opts_knit$set(highr.opts = list(markup = cmd_mine))
for .Rnw and .Rhtml documents. However, when I set this option in my .Rmd file (simplified here to messing with the highlight for numerical constants)
```{r setup, include=TRUE}
# set global chunk options
library(knitr)
opts_chunk$set(cache=TRUE)
library(highr)
cmd_mine = highr:::cmd_html
cmd_mine[rownames(cmd_mine)=="NUM_CONST", 1] <- '<span class="three">'
opts_knit$set(highr.opts = list(markup = cmd_mine))
cmd_mine
sum(1:2)
```
I see no change. This leads me to understand that this option is not implemented for .Rmd, or that I've misunderstood how the option works. If it doesn't exist, it'd be great if it could someday! If it does, I'd appreciate any suggestions. Thanks!
PS: in fact, I tried to set this for an .Rhtml document and also had no success...
The syntax highlighting in knitr only works for LaTeX (.Rnw) and HTML (.Rhtml). It does not apply to R Markdown (.Rmd).
If it does not work for .Rhtml, it could be a bug. But keep in mind that even if it works, you may not see it. It depends on what style you defined for span.three in CSS. Some screenshots and a minimal reproducible example (plus sessionInfo()) will be helpful.

Some line beginnings are a different color in Aptana

I've spent like an hour tying to find a way to fix this, but I just can't do it. Some lines/characters will show up a different color in Aptana (all semicolons, some tabs, and some whole). I just installed it today, so I don't know my way around the software very well.
Here's a picture to help you get the idea:
I would like get rid of the way some sections are lighter (the line saying some text is the line the caret's on, which is not the problem)
P.S. If this is the wrong place to ask this, I'm sorry, but I'm getting frustrated searching through Google and the Aptana preferences.
I too spent way too much time on this issue.
The answer by phazei is correct:
Aptana 3, php code background highlighting
But my main problem was I didn't know where to look. So to give some insight into how I found the answer:
It turns out you can see what markup the editor is using and how it classifies any block of text, by just right-clicking on the text you are interested in and pick Show in -> Properties.

How to remove contrast from recaptcha?

I know the idea is to make the text somehow hard to read for the users but still they complain and I've seen how the control used here in stackoverflow doesn't have the dark circles contrasting with the text in recaptcha.
How can I replicate this?
Thanks.
You can't.
If you want more control over how the CAPTCHAs are generated, you may want to take a look at different library.

Resources