I'm writing something in TypeScript (Deno) using VSCode and love the inlay hints. I would like to try using SublimeText again, but I don't want to lose the inlay hints.
It's possible in IntelliJ, VSCode. Is it not possible in ST?
https://forum.sublimetext.com/t/inlay-hints/54957/10
I followed the link that I pasted, followed the link where it says that something is standardised. Installed several packages, but no luck yet
As rwols said in the link you posted, inlay hints can now be enabled in the main LSP settings. Select Preferences → Package Settings → LSP → Settings and scroll down the left side a little ways to find
"show_inlay_hints": false,
Copy this over to the right side (the User settings), change false to true, save the file, and you should be all set. You may need to either restart your LSP servers or Sublime itself in order for it to be fully activated.
I simply want to disable all linting. At some point Visual Studio Code (VSCode) asked to update golang tools / settings, and it enabled linting.
I searched on Google, but I found only results about setting the linter or disabling specific warnings.
Go to your extension settings and replace the go.lintTool value to empty string
Tools like goimports also format the code so you can also check if other tools running or on save events that might be triggering these tools
I'm trying to look for an OpenRefine preferences key-list but I don't seem able to find any.
I already tried googling for "openrefine preference keys" (and similar combinations). I tried looking at the project wiki and docs on github and on the official page to no avail.
I'm particularly interested into setting OpenRefine client being opened by default to a specific browser (Chrome) rather than using system default one (Firefox), but I'd like to be able to browse all recognised preference keys in order to be able to "customize" OpenRefine as needed/liked.
Thanks in advance!
You can find a list of supported preferences in OpenRefine's documentation:
https://docs.openrefine.org/manual/running#preferences
Can we change color settings of VS Code Integrated Terminal? Mine looks dull with just white.
You can actually modify your user settings and edit each colour individually by adding the following to the user settings.
Open user settings (Ctrl+,)
Search for workbench and select Edit in settings.json under Color Customizations
"workbench.colorCustomizations" : {
"terminal.foreground" : "#00FD61",
"terminal.background" : "#383737"
}
For more on what colors you can edit you can find out here.
In case you are color picky, use this code to customize every segment.
Step 1:
Open user settings
Windows: Ctrl+,
Mac: CMD+Shift+P
Step 2:
Search for "workbench: color customizations" and select Edit in settings.json.
Page the following code inside existing {} and customize as you like.
"workbench.colorCustomizations": {
"terminal.background":"#131212",
"terminal.foreground":"#dddad6",
"terminal.ansiBlack":"#1D2021",
"terminal.ansiBrightBlack":"#665C54",
"terminal.ansiBrightBlue":"#0D6678",
"terminal.ansiBrightCyan":"#8BA59B",
"terminal.ansiBrightGreen":"#237e02",
"terminal.ansiBrightMagenta":"#8F4673",
"terminal.ansiBrightRed":"#FB543F",
"terminal.ansiBrightWhite":"#FDF4C1",
"terminal.ansiBrightYellow":"#FAC03B",
"terminal.ansiBlue":"#00a1f9",
"terminal.ansiCyan":"#8BA59B",
"terminal.ansiGreen":"#95C085",
"terminal.ansiMagenta":"#8F4673",
"terminal.ansiRed":"#FB543F",
"terminal.ansiWhite":"#A89984",
"terminal.ansiYellow":"#FAC03B"
},
Resource: This site has VS Code themes you can copy/paste in settings. https://glitchbone.github.io/vscode-base16-term/#/
VSCode comes with in-built color themes which can be used to change the colors of the editor and the terminal.
For changing the color theme press Ctrl+K+T in windows/ubuntu or CMD+K+T on mac.
Alternatively you can open command palette by pressing Ctrl+Shift+P in windows/ubuntu or CMD+Shift+P on mac and type color. Select preferences: color theme from the options, to select your favourite color.
You can also install more themes from the extensions menu on the left bar. just search category:themes to install your favourite themes. (If you need to sort the themes by installs search category:themes #sort:installs)
Edit - for manually editing colors in terminal
VSCode team have removed customizing colors from user settings page. Currently using the themes is the only way to customize terminal colors in VSCode. For more information check out issue #6766
Add workbench.colorCustomizations to user settings
"workbench.colorCustomizations": {
"terminal.background":"#FEFBEC",
"terminal.foreground":"#6E6B5E",
...
}
Check https://glitchbone.github.io/vscode-base16-term for some presets.
The best colors I've found --which aside from being so beautiful, are very easy to look at too and do not boil my eyes-- are the ones I've found listed in this GitHub repository: VSCode Snazzy
Very Easy Installation:
Copy the contents of snazzy.json into your VS Code "settings.json" file.
(In case you don't know how to open the "settings.json" file, first hit Ctrl+Shift+P and then write Preferences: open settings(JSON) and hit enter).
_Notice:_ For those who have tried ColorTool and it works outside VSCode but not inside VSCode, you've made no mistakes in implementing it, that's just a decision of VSCode developers for the VSCode's terminal to be colored independently.
Go to the settings of VSCode
On Windows/Linux - File > Preferences > Settings or Shortcut(ctrl,)
On macOS - Code > Preferences > Settings or Shortcut (⌘,) or Search (⇧⌘P) → “Preferences: Open Settings”
Search for "workbench: color customizations" and open the settings.json file
You can see workbench.colorCustomizations as empty if you are editing it for the first time,
"workbench.colorCustomizations": {
}
Edit or Paste your configuration under workbench.colorCustomizations
Fill it with your customized options,
I sharing Isotope theme here
"workbench.colorCustomizations": {
"terminal.background":"#000000",
"terminal.foreground":"#D0D0D0",
"terminalCursor.background":"#D0D0D0",
"terminalCursor.foreground":"#D0D0D0",
"terminal.ansiBlack":"#000000",
"terminal.ansiBlue":"#0066FF",
"terminal.ansiBrightBlack":"#808080",
"terminal.ansiBrightBlue":"#0066FF",
"terminal.ansiBrightCyan":"#00FFFF",
"terminal.ansiBrightGreen":"#33FF00",
"terminal.ansiBrightMagenta":"#CC00FF",
"terminal.ansiBrightRed":"#FF0000",
"terminal.ansiBrightWhite":"#FFFFFF",
"terminal.ansiBrightYellow":"#FF0099",
"terminal.ansiCyan":"#00FFFF",
"terminal.ansiGreen":"#33FF00",
"terminal.ansiMagenta":"#CC00FF",
"terminal.ansiRed":"#FF0000",
"terminal.ansiWhite":"#D0D0D0",
"terminal.ansiYellow":"#FF0099"
}
Now you can able to see your changes in VS Code Terminal
For more themes => Base16 Themes
For more customization => VSCode Terminal Colors
if you want prebuilt theme for terminal
first check out this link
copy the theme you want and in settings.json
add:
"workbench.colorCustomizations":{
//paste the copied theme
}
I use Oh My Zsh. It takes the dullness away and also have nice features.
Check the link here: https://ohmyz.sh/
Check also VSCode 1.61 (Sept. 2021) with:
Issue 128228 "Support setting terminal color in TerminalOptions | ExtensionTerminalOptions"
PR 128856
commit ad59706
It adds:
export interface TerminalOptions {
/**
* Supports all ThemeColor keys, terminal.ansi* is recommended for contrast/consistency
*/
color?: ThemeColor;
}
export interface ExtensionTerminalOptions {
/**
* Supports all ThemeColor keys, terminal.ansi* is recommended for contrast/consistency
*/
color?: ThemeColor;
}
Simply. You can go to 'File -> Preferences -> Color Theme' option in visual studio and change the color of you choice.
On macOS - Code > Preferences > Settings or Shortcut (⌘,) or Search (⇧⌘P) → “Preferences: Open Settings”
"workbench.colorCustomizations": {
}
and choose which color you want form here: https://glitchbone.github.io/vscode-base16-term/#/
I am using Intellij on a mac. When I was installing it, it asked whether I wanted to use the traditional shortcuts, based around the control modifier key, or to use the command key. I chose the latter but when I when I tried using it, it doesn't seem to work. Instead, only control shortcuts can be used. I can't find a way to change this in the settings; all the online documentations I've consulted point to an area in the settings called keymap which I can't seem to find. Searching for it using Intellij search function, under Help, doesn't yield returns.
How do I enable command shortcuts?
Keymap is in the preferences, which can be found in the IntelliJ IDEA menu.