I have created a custom syntax definition in the new .sublime-syntax format, but I can seem to get it to appear in my list of available syntaxes...
I have tried putting it in:
<Install Location>/Packages
<Install Location>/Packages/User
<Install Location/Data/Packages
<Install Location/Data/Packages/User
%APPDATA%/Packages
%APPDATA%/Packages/User
The documentation seems to be bit light on how this works, but I'm hoping that someone can enlighten me!
The proper location for user-defined syntaxes, plugins, build systems, etc. is Packages/User, where Packages is the folder opened by selecting Preferences -> Browse Packages...*. I'm not on Windows at the moment, but I believe this is %APPDATA%/Sublime Text 3/Packages/User. Once you place the file there, it will be available from the syntax menu under User.
Also, please recall that .sublime-syntax files are only supported in the dev builds currently, and you need to be a registered user to run them. They will not work with Build 3083.
Related
I have looked everywhere and I am still unable to switch off this 'feature'!
I've been using vi and, later, vim, since the 80's and I have never had need of multiple cursors, nor can I see a use for them.
:<range>s/search/replace/ does everything I need so this new feature is infuriating beyond words, especially as I've no idea how to switch it off when it seemingly-randomly appears.
Would someone be wonderful enough as to tell me how to banish, remove, consign-to-history the multiple cursors feature in VSCode Vim 1.12.4, please?
I believe this issue is specific to the plugin. I experienced it with the HTML plugin recently, and I'm assuming you have the same problem with HTML files, but the same principle should apply to other plugins as well. You just have to find the setting.
In the VS Code settings, there is an option that reads:
HTML: Mirror Cursor On Matching Tag
You can uncheck the box there to disable the feature. Or you can go to the settings.json in your local repo (inside the .vscode directory), or the equivalent global file, and add/modify the following field like so:
"html.mirrorCursorOnMatchingTag": false
That should take care of it for you.
I am using VSCODE and it has a shortcut where it displays in a popup the interfaces, functions in the file. It is fairly common to have functions in a file in Goland without any encapsulation in interface. When I press Ctrl+F12 in Goland, it does not display anything unless I check the Package structure box and then lot of unwanted stuff also shows up. In short, is there a way to see the list of functions that exist in a file using Goland?
Use the latest 2018.2 Beta as this has a fix for displaying the methods in a local file that are bound to a type defined in another file. If you still have issues with this, please describe a way to reproduce this or open an issue on our tracker.
See the image below:
I wonder if someone could tell me, or link me to a place where someone can tell me (video, previous topic etc).
My question is how I create a simple theme that I can use in sublime. But the file type is not any famous one. I want to create a theme for a file type called .mcfunction - Currently, it runs plain text. So how do I do so that for example, numbers get green or some words highlight etc, I assume that is the easiest way.
Thanks in advance!
Personally, I develop data packs in .mcfunction and I use an intern package, just install Atom and install an mcfunction package
I know from Intellij IDEA. Hide .iml files that I can hide from the Project Tool Window specific file extensions on all directories. However, I have unsuccessfully tried to hide specific files (e.g. mymodule/blah.tgz) without getting all tgz files to hide as well. In Settings -> Editor -> File Type, at the bottom, I have tried specifying full and relative paths (e.g. ~/projects/mymodules/blah.tgz) without luck.
How can I achieve this? Is this supported at all? I'm using IntelliJ 14 Ultimate.
Please see the following comment.
How to hide unnecessary files from intellij project view?
I usually use the scope support in Idea to filter in/out files/folders in project tool window and other windows, i.e. Find.
I hope this helps.
I downloaded and modified a style file and placed it in the Notepad++ themes folder. I was able to select it and have it update the style as expected. I then went to Settings -> Style Configurator and changed the font of COMMENT of language VHDL to MS Gothic, hit save, and closed and exited Notepad++. I am able to relaunch Notepad++ and still see the change (I'm running Notepad++ in admin mode on Win7).
The only file that I can see a new timestamp on is my XML theme file, but I don't see MS Gothic anywhere in the file. Where is this information being stored? It is overriding the settings from my theme file. I also checked %APPDATA%\Notepad++\stylers.xml but I don't see it there either.
I realize I can change it back through the GUI, but I'd like to know how to get back to my original theme without selecting every style in the language manually (as I've made multiple changes). If I could edit (or delete) a file, I would prefer it.
Look in your %APPDATA%\Notepad++ folder, specifically for the stylers.xml file.
Uninstall Notepad++
Reinstall it again, but this time check the first box, the one that says "Don't use %APPDATA%..... "
Enjoy.
The reason is that Notepad++ install all the files at administrator profile, if you are using another user then you are screw, it will not work properly, you have to run it always as an administrator so it can work properly. To avoid this, just do as i said.
If files are going to APPDATA, then you can create a folder called "themes" and then inside that place your new xml themes. Then close and reopen notepad++ and you should see your new style in the "Select theme:" drop down. Whatever you named the file should be what appears in the dropdown
If you are on Windows 10 the path to add the new theme is :
C:\Users\NAME-OF-COMPUTER\AppData\Roaming\Notepad++\themes
stylers.xml is located one director/ folder above the themes :
Just as a complement to the other answers, if you made the changes on another theme than the default theme (stylers.xml) then your changes are saved to
%APPDATA%\Notepad++\themes\TheThemeYouModified.xml.
For example, if you modified the choco theme, then look for the %APPDATA%\Notepad++\themes\choco.xml.
You will also find a choco.xml in the C:\Program Files (x86)\Notepad++\themes but this one is not where your changes are saved.
I tried Rbastardo answer, but even when I check "Don't use %APPDATA%....." when installing Notepad++, the changes are still saved in %APPDATA%.
In case this helps someone in the future, if you installed Notepad++ via Scoop then look for your themes directory here:
D:\Users\yourusername\scoop\persist\notepadplusplus\themes