Does anyone know of a good source for finding themes for multiple IDE's, I'm specifically looking for a good Monokai version to use but wouldn't mind others that have a darker background. I use Android Studio (which is based off IntelliJ), Visual Studio 2013, and Xcode for mobile development as well as TextWrangler and Navicat for other work and like to use themes that are similar within each IDE. I did find one Repo on GitHub Base16 Theme but I'm trying to find more themes or builders like this that can spit out the same theme for various IDE's that I use for development.
Vim: https://github.com/tomasr/molokai
Xcode https://github.com/b0ti/xcode-monokai-revisited
emacs: https://github.com/oneKelvinSmith/monokai-emacs
All you need to do is: search on github
Someone has created a version of the theme for Android Studio.
Full instructions on installing it here
Related
Afternoon!
First, I hope everyone is well.
I am currently experimenting with Visual Studio [Version: 17.5.0 Preview 4.0] (to clarify, not Visual Studio Code) and was hoping to utilize a Nerd Font, specifically CaskaydiaCove Nerd Font, for my Terminal. This is so Oh-My-Posh will have the necessary icons to display correctly.
However, it seems that Visual Studio does not allow Nerd Fonts as a font for the Terminal. If you look in the attached screenshots below, you can see that the setting’s dropdown does not list Nerd Fonts as options. Curiously, they are available as a choice for the Text Editor.
Regarding to solve it myself, I have scoured the Visual Studio documentation and tried my best Google-fu to find any results. Disappointingly most search engines return results concerning Visual Studio, not Visual Studio Code.
Before I submit a report to the developers of Visual Studio, I would like to cover all my bases and make sure I am not missing something.
Any insight would be greatly appreciated. Thank you!
Wild guess here. They might still be on conhost which doesn't work with OTF files and needs TTF. So, theoretically, installing the same font as TTF could do the trick. You'll need to do a manual install from the Nerd Font repo in this case as they don't ship the TTF files inside their zip files.
I also have problems with the fact that "CaskaydiaCove Nerd Font" and other fonts are not available for the terminal, but "JetBrainsMono NF" is available for some reason and the icons in the visual studio console are displayed correctly.
terminal screenshot
fornt list from vs
There is a cool GUI solution, like About Visual Studio > Show Details.
But is there any chance I can get the same output from CLI?
Thanks!
Terminal window is not a part of the built-in tools within Visual Studio for Mac. There might be some add-ins or extension for this, but I am not aware.
Here is an VS fro Mac add-in that allows you to open a terminal window and you can do something with CLI.
In addition , Team Foundation Version Control will use GUI Git tool , you can have a look at it .
Thanks, finally I asked the question on relevant MS site and received an answer that there is no such thing.
Meanwhile, I was able to find two similar questions and answers here on SO (which I missed earlier, likely due to different query phrasing, even though I tried many times).
Here they are:
https://stackoverflow.com/a/54393403/2518705
https://stackoverflow.com/a/47096260/2518705
Also note my comments to both of them.
In the visual studio 2015 update 1 release blog post (https://blogs.msdn.microsoft.com/visualstudio/2015/11/30/visual-studio-update-1-rtm/) the ability to add textmate bundles (or grammars) is explicitly mentioned:
Editor support for new languages. The Visual Studio editor now provides built-in syntax highlighting and basic IntelliSense support for languages including Go, Java, Perl, R, Ruby, and Swift. We support the TextMate bundle
model for language grammars and snippets, allowing you to extend this with support for other languages.
I want to create a new textmate grammar for my own language, but I cannot find any documentation, how to do this in vs2015 update 1.
The best source I found is this reddit conversation: https://www.reddit.com/r/programming/comments/3uvwn3/visual_studio_2015_update_1/
It looks like it's implemented as an extension, "Visual Studio Extension for Textmate Grammars." If you search for *.tmbundle in your visual studio\Common7\IDE\Extensions directory you will find the location of the tmbundles. I just made a new folder for Julia and copied the Julia tmbundle to it. Seems to work.
Is this the supported way of doing this? Why isn't there any documentation, visual studio menu etc. for this?
You can do this the way you've done it above, or if you prefer it to be in your user profile directory rather than across the whole operating system installation, you can add the bundle here:
%USERPROFILE%\.vs\Extensions\
On most machines, that path expands to:
C:\User\<yourusername>\.vs\Extensions\
Looks like there's an extension from Mads Kristensen now that provides a large number of TextMate syntaxes into Visual Studio. Looks like it's easy to add additional languages as well... You can probably check out the repo and see exactly what's required to add additional syntax.
http://vsixgallery.com/extension/4773ce75-6f30-4269-9557-1f7c30a47be2/
I really like the idea of working with Visual Studio, C# and Unity on OS X.
Has anyone made debugging with C# in Unity work with Visual Studio Code on OS X?
Yes it works absolutely fine. Unity is C#, JavaScript or Boo. So, you don't need .NET for it. Unity uses Mono runtime. So, an existing VS project can be opened in Unity for Mac OS X.
EDIT
Here is a link that helps you to attach a debugger to the VS endpoint.
http://www.yunspace.com/2015/01/19/integrating-visualstudio-with-unity3d-on-mac-using-vstools/
You can try VS Tools for Unity too.
http://unityvs.com
UPDATE
There is this awesome Unity Plugin by dotBunny that solves the problem and integrates Code with Unity tools.
Hi the solution is https://github.com/dotBunny/VSCode This plugin works on both MacOS and Windows and gives you the following capabilities:
•An option to enable VS Code integration (Editor –> Assets –> Enable Integration), this updates your solution files and (more importantly) keeps them in sync. This also sets the preferred external tool editor in the Unity preferences.
*Note, the old “Sync MonoDevelop” option is now gone in the Unity editor from V5.2
•It writes out the necessary (and sometimes hard to find) VS Code configuration files, including the ability to hide “non-code” files in the editor (hides things like .sln, .csproj and the ever present unity .meta files)
There are a couple of other settings in there to help speed up the integration.
•Automatically launches VS Code direct to your project folder, EVERY-TIME. no longer do you have to worry about keeping that window open, or switching around if you work on multiple projects
One thing to be aware of, once you enable the VSCode integration, changing your preferred code editor in the External Tools preferences will have no effect as the plugin takes over opening code files. If you want to use another editor, you’ll have to disable the integration first.
These are just the main highlights as there are more features in there as well.
Currently you need to download the plugin files from GitHub
An existing Visual Studio solution can be build and debugged with Visual Studio Code on the Mac with Mono. You have to use the launch.json and tasks.json files.
I described it on my blog: Compile and Debug
To build Unity in Visual Studio Code, you can hook up Mono xbuild compiler as a task runner, so you don't even have to leave IDE to have errors and warnings.
See https://twitter.com/_eppz/status/846859856787259392 for more.
It's a little unstable. But it's possible from recent VSC version.
1) Install this VSC Unity plugin-in.
https://github.com/dotBunny/VSCode/
2) Follow these commands. (Step 1, 2 and 3)
https://code.visualstudio.com/Docs/runtimes/unity
3) After you complete the settings, launch the VSC using Unity menu.
Assets/Open C# Project in Code
4) Play the Unity project.
You can see the debug port number on the unity console.
And the project's launch.json file will be renewed automatically.
To open launch.json, click option icons.
the file exists in this folder.
.vscode/launch.json
sample.
{
"version":"0.1.0",
"configurations":[
{
"name":"Unity",
"type":"mono",
"address":"localhost",
"port":56621
}
]
}
5) Start debug in VSC debug tab.
That's it. Hope this help.
Update, 2016 - the petition was popular enough that some VS Code extensions have been written for it: https://marketplace.visualstudio.com/search?term=unity&target=VSCode&sortBy=Relevance
Petition for it on the Visual Studio UserVoice page: http://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752702-unity-integration
[Feb 2017] It is now possible to do this without the dotBunny plugin.
i.e. Support is built into Unity natively.
Just to repeat, you don't need to fiddle with Unity, just VSCode.
Instructions here
Instructions are incomplete though, and I didn't take screenshots (please do!), but basically what I did was:
(...and please improve these instructions as you go, I'm working from memory...)
I deleted/renamed my .vscode/Launch.json file, as per the link.
Double-click on some file to bring up the project in VSCode (maybe first make sure that in Unity's settings you have selected VSCode as your default code editor)
clicking the bug icon then the cogwheel, as per the link.
I had to install that vscode-unity-debug plugin in VSCode, just filtering the search with 'unity' found it.
I then had to press the green 'play' triangle.
I set a breakpoint in my code.
Now over to unity and press play, and the breakpoint gets hit.
The Unity Debugger for Visual Studio Code is working, but doesn't work well enough when doing any kind of serious work for now. I really hope they will improve it in the future as I prefer VS Code over VS.
Current problems I encountered
-Sometimes I cannot step in a function, the debugger will hang until you detach
-no local variable, you have to watch everything
-some more complex variable have no support, so you can't see what is inside
-A bit overall unstable with unexpected behaviours.
What I love about it,
Attaching & Detaching is a breeze. Just press a button, allowing to attach and detach quickly as needed. e.g. At the beginning of the program I work on, there will be an bunch of exception. I can detach and attach quickly to skip the exceptions.
The problems with it are too constraining as it currently stands, I had to go back to the classic Visual Studio.
I am rebuilding my DEV image and I am no longer able to find neither of these two great plugins on the VS Extensions Gallery: Structure Adornment, AllMargins
Any ideas where did they go? Are there any replacements I can use? In the worst case, is it possible to extract Structure Adornment from my VS 2010 in my older image and install it into the new image?
Can't even imagine to go through thousands of lines of code without the nice vertical lines!
I uninstalled AllMargins after installing the Productivity Power Tools, but then realized there were some features of AllMargins that I liked better. This led me on a hunt to find it again. I had long since deleted my downloaded copy, and the official install has been removed from the VisualStudio Addons list.
However, I did find the source code still listed in Microsoft's archives, here:http://archive.msdn.microsoft.com/OverviewMargin/Release/ProjectReleases.aspx
The file download is named "OverviewMargin.zip" on the page, but the actual file it links to is "AllMargins.zip", which contains all the source code. It shouldn't be too hard to build and install it from there.
Also, if you plan on trying to build it from source, you have to have the VisualStudio 2010 SDK installed first.
Finally, there is this old blog post on how to configure AllMargins in the registry.
Edit:
I also updated this plugin to work with VisualStudio 2012, and renamed it to "OverviewMargin2012" : AllMargins / OverviewMargin extension updated to VisualStudio 2012
A bit late to the party but since my Google search for AllMargins resulted in this page I figured I would update. Someone updated AllMargins to work with VS2012.
AllMargins 2012 # Visual Studio Gallery.
It still works with VS 2010:
According to this blog post, AllMargins seems to have been superseded by Microsoft's own Productivity Power Tools. Commenters have pointed out that this is not the case.
However, the free version of CodeRush (CodeRush XPress) includes various navigation features including structural highlighting (which I think is equivalent to structure adornment). Note that, despite the name, this extension requires a full (not Express) version of Visual Studio.