how to hide svg path in neovim - neovim

I'm using NVChad neovim configuration and my svg path is too long, any ways to hide this? or make it in one line?

Related

Is there a way to highlight my tree path in VSCode?

Is there a way to highlight the tree path in the file I'm currently editing like Git does when I have uncommitted changes in a file? When I'm editing a file it only highlights the file, like this: Only file, I would like to highlight like this: Git example
Hi are you asking about this highlight ? I'm not sure either how to change the settings in VSCode but im currently using the Dark+ (default dark) theme in VSCode, i guess you can try change the theme in VSCode, hope it works ![]
sample

how can I change the outline icons in vscode to something colorless?

I'd like all the outline view/window icons (clarification: not the file icons, the stuff under "outline") to be colorless in vscode, but I can't find any themes with different and/or colorless outline icons. Is it possible to go into the vscode settings and change the icon files manually? Ie. change json settings, run a script on the file(s) to change all color codes to white or something like that?
Edit: re answer below file-icons colorless does not replace the outline icons :(
I see from the comments of your question you were able to find a solution. For others' reference:
You need to update settings.json to include the color updates you want to make for the variables listed here: https://code.visualstudio.com/api/references/theme-color#symbol-icons-colors under the workbench.colorCustomizations object.
e.g.,
// settings.json
"workbench.colorCustomizations": {
"symbolIcon.variableForeground": "#a8a8a8",
"symbolIcon.arrayForeground": "#a8a8a8",
"symbolIcon.booleanForeground": "#a8a8a8",
"symbolIcon.classForeground": "#a8a8a8",
"symbolIcon.colorForeground": "#a8a8a8",
"symbolIcon.constantForeground": "#a8a8a8"
...
...
},
If you do not have a colorless icon set that you want to use:
Use the file-icons VSCode extension and select File Icons (Colourless).
If you do have colorless icons that you want to use, you can use your own icon files with the vscode-icons VSCode extension.
From the vscode-icons wiki:
Create a folder called vsicons-custom-icons
Place the folder in one of the following locations (depending on your OS):
Windows: C:\Users\<your_user>\AppData\Roaming\<Code Folder>\User\vsicons-custom-icons
Linux: /home/<your_user>/.config/<Code Folder>/User/vsicons-custom-icons
Mac: /Users/<your_user>/Library/Application Support/<Code Folder>/User/vsicons-custom-icons

How to combine VS Code workbench and token colours from two different themes

I've recently moved to VS Code from Sublime Text 3, and I'm wondering whether - as of the time of asking this question - there's a way to use the .tmTheme file I was using for syntax highlighting in Sublime Text.
I understand that this will involve creating a custom theme as VS Code doesn't inherently separate UI styling from syntax highlighting like Sublime and Atom do, but does VS Code at least provide any way to automate the process of combining the UI (which I think is known as the workbench in VS Code) of one theme while using the editor colours from a .tmTheme file?
Is the only way to do this at the time of writing really to set each of my syntax colours individually with editor.tokenColorCustomizations?
Combining a VS Code color theme's UI styles with syntax highlighting from an existing .tmTheme file
Unfortunately, as of the time of writing this, there's no easy way to accomplish this. After failing several times to accomplish it using VS Code's Yeoman theme generator tool alone, I finally managed to get it working by following the instructions here and then doing some additional manual work, although I found that this first method was for some reason prone to reverting back. I then figured out a second, more persistent method, and so far this hasn't reverted back.
Method 1 (prone to reverting back)
Open the VS Code terminal (Ctrl'), and run the following commands to install and run the Yeoman theme generator tool:
npm install -g yo generator-code
cd %USERPROFILE%\Desktop
yo code
Select New color theme, Start fresh, then follow the prompts to give your theme names and an ID (hit Enter to leave the description blank). Yeoman will then create a theme folder for your new theme on your desktop.
Assuming that the theme whose UI styling you want to use as a base is already installed as a VS Code extension, navigate to %USERPROFILE%\.vscode\extensions, click into the base theme's folder, and locate its -color-theme.json file (usually inside of a themes folder). Copy this file to the themes folder of your newly-created theme, making sure to delete the existing -color-theme.json in that folder.
Open the newly-copied -color-theme.json file and look for the line beginning with "tokenColors":. Delete everything after it inside of and including the square brackets:
...and replace with the name of the .tmTheme file containing your syntax highlighting styles:
"tokenColors": "syntax-highlighting.tmTheme"
Finally, copy your syntax highlighting file to the themes folder, and then copy the entire theme folder to %USERPROFILE%\.vscode\extensions.
Restart VS Code, and change the active theme (CtrlK,CtrlT) to your new theme.
Method 2 (persistent)
Open the VS Code terminal (Ctrl'), and run the following commands to install and run the Yeoman theme generator tool:
npm install -g yo generator-code
cd %USERPROFILE%\Desktop
yo code
Select New color theme, Import and inline an existing theme, and then enter the path to the .tmTheme file whose syntax highlighting styles you want to use. Note that this must be an absolute path without quotes:
Follow the prompts to give the theme names and an ID (press Enter to leave the description blank), and Yeoman will then create a theme folder for the new theme on your desktop.
Assuming that the theme whose UI styling you want to use as a base is already installed as a VS Code extension, navigate to %USERPROFILE%\.vscode\extensions, click into the base theme's folder, and locate its file (usually inside of a themes folder).
Copy all the styles inside of this file's colors object:
...and paste them into the colors object of the -color-theme.json file in the theme folder created by Yeoman, making sure to remove any that exist.
Finally, copy the entire theme folder to %USERPROFILE%\.vscode\extensions.
Restart VS Code, and change the active theme (CtrlK,CtrlT) to your new theme. If you followed this process correctly, you should now have a VS Code color theme that uses the UI styling of your chosen base theme and the syntax highlighting styles of your chosen .tmTheme file, and doesn't revert back without warning.

Installing custom fonts on Scratch

I for my project require to install a custom font for my program but cannot find the directory to install a new font. Where would I find it?
I have looked everywhere including the recycle bin
Assuming you are referring to Scratch 2, as Scratch 1.4 supports all fonts that are on your computer:
You cannot install a custom font into the Scratch 2 editor. However, you can do the next best thing; import the text. If you need the font in Vector mode (you probably should), you can use an SVG editor such as Inkscape to import the text with 100% quality, as if you had imported the font.
Make the text using the font tool. The positioning doesn't matter, we'll do that later.
Select the text.
Convert it to a path. In Inkscape, click on Path -> Object to Path or use Ctrl+Shift+C to do this. Other vector editors might will be different.
Save as SVG.
In Scratch, import the SVG file as a costume, or into an existing costume.
Move it into position, as you would any other text.
Done.
You cannot install a custom font into the Scratch editor. You'll need to use some graphic software like GIMP to make the words you need, then import the images.

How to edit the text color in .txt files in Eclipse

I am using the Eclipse dark theme. A lot of my projects, however, require the use of text files for various reasons. Because the text is black, and the editor is black, I cannot read the text in these files if I view them in eclipse. I found where to change colors for things like .c .java etc (preferences->general->appearance->colors and fonts) but I don't see where I can change the text color for .txt files.
Is it possible to make .txt files readable in Eclipse's dark theme? Or do I need to switch back to the white theme?
I found an answer online which said to follow the path (General>Appearance>Editors>TextEditors) but I don't have this path. I assume the options hierarchy must have been updated in the last major release of Eclipse.
I was using Eclipse Luna. Upgrading to Eclipse Mars fixed my issue.