Write ASP. NET vNext (2) IDE configuration on Mac OS X, osvnext
The previous article describes how to set up. Net Runtime on OS X. However, it is not enough to run the SDK. You also need a good IDE. With IDE support, development on OS X is called possible.
Similar to the previous article, the specific steps are listed here. You can skip some steps based on your needs.
1. Install Sublime Text 3
2. install Package Control Plugin
3. Install Kulture
4. Install OmniSharpSublime
1. Install Sublime Text 3
The famous software, in fact, you search in the search engine, but for your convenience or release address http://www.sublimetext.com/3
2. install Package Control Plugin
Similar to VS plug-in manager, but the installation is a little more complex, good English can refer to the page https://sublime.wbond.net/installation
For the current version I used, this is the case. In Sublime, press Ctrl + 'or View> Show Console to open the Console (at the bottom by default ), enter the following code and install it after it is executed.
import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write
3. Install Kulture
Kulture is a plug-in designed for vNext. After installation, it provides some smart awareness (only for package. json files) and supports Error Tracking and quick compilation and running. Start installation.
In Sublime, press Cmd + Shift + P. In the pop-up text box, record Package Control: Install Package, then record Kulture, press enter, and wait. The installation is complete.
If you want to manually install it, go to its Github page refer to https://github.com/ligershark/kulture/
Now that the installation is complete, you can use it. Press Cmd + B or F7 to Build. Press F4. The previous error is Shift + F4.
To Run the command, Run Cmd + Shift + P to bring up the command window, then record Run K Commands and press Enter. The optional KVM command is displayed, refer to the KVM section in the previous article.
4. Install OmniSharpSublime
Similar to Kulture, the Package Control is also used for installation, but the last step is not to enter Kulture. Instead, the Package is input to OmniSharpSublime. After the installation, you must create a sublime-project file in the directory under the project. There are many other configurations. you have configured them according to the instructions, but they still don't work. This plug-in sends the code to the OmniSharpServer for compilation, and then intelligently perceives the compilation results. However, it does not work if you use the built-in OmniSharpServer or the compiled OmniSharpServer. So here is not detailed introduction, interested can refer to here https://github.com/moonrabbit/OmniSharpSublime
All right, IDE is basically like this. It is certainly not as good as VS, but fortunately, Sublime is very powerful, and it is no worse than VS at the front end. In addition, it is a pity that smart sensing has not been implemented here. Some people may bother to guide their younger brother.
Finally, the next article will introduce Grunt and Less used by vNext, so stay tuned.