In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to configure jade syntax highlighting sublime, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Today, I read the node+mongodb building strategy mentioned by teacher scott on the Internet (the first issue).
In my own practice, I found that the jade grammar could not be highlighted. My development platform is ubuntu, the tool is sublime3,sublime3 before there is the problem of Chinese input, so still the old way of thinking, looking for plug-ins on the Internet.
Open sublime3, then open view > show console, and copy the following code into the console box
Import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' +' d0e7a3098092775ccb37ca9d6b2e4b7dpipeline; 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 (by)
If you are sublime2, please paste the following code
Import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' +' d0e7a3098092775ccb37ca9d6b2e4b7dpipeline; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path (); os.makedirs (ipp) if not os.path.exists (ipp) else None; urllib2.install_opener (urllib2.build_opener (urllib2.ProxyHandler (); by = urllib2.urlopen (' http://packagecontrol.io/' + pf.replace (','% 20')). Read (); dh = hashlib.sha256 (by). Hexdigest () Open (os.path.join (ipp, pf), 'wb') .write (by) if dh = = h else None; print (' Error validating download (got% s instead of% s), please try manual install'% (dh, h) if dh! = h else 'Please restart Sublime Text to finish installation')
In the bottom bar, you will see that the import of pakeage control was successful.
Restart sublime and select package control:install package in preferences > package control >
Type jade > in the box and restart, and you can see the jade syntax highlighted.
The above is all the contents of the article "how to configure jade syntax highlighting in sublime". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.