Cloud9 IDE本地主题 [英] Cloud9 IDE local themes
问题描述
Cloud9 IDE文档说您可以导入Textmate主题,但我无法弄清楚。有人可以一步一步解释我如何做到这一点。我试图通过本地方式将主题包含在本地主机中。
The Cloud9 IDE docs say you can import a Textmate theme, but i cant figure it out. Can some one explain step-by-step how i can do this. Im trying to include the theme on my localhost by the way.
我找到了此链接,但我仍然不明白...
I found this link, but i still dont get it...
https://groups.google.com/forum/# !msg / ace-discuss / kLgJFe2l2YY / 47QvhIowqqMJ
。
上面的网址还提到了能够编辑已经存在的主题。如果有人知道如何/文件位于何处,这也将派上用场。
The above url also mentioned being able to edit already existing themes. This would also come in handy if any one knows how to / where the files are located.
推荐答案
请按照以下步骤操作,假设我主题名称为 pretty.tmTheme:
Follow these steps, assuming my theme name is 'pretty.tmTheme':
- 将pretty.tmTheme复制到 cloud9 / node_modules / ace / tool / tmThemes /
- 转到cloud9 / node_modules / ace / tool /并运行'node tmtheme.js'
- 转到cloud9 /
- 运行'make ace'
- 运行'make theme'
- 打开cloud9 / plugins-client / ext.themes_default / themes_default.js和将您的主题添加到列表中。例如:' Pretty: ace / theme / pretty'
- 运行Cloud9并从视图/主题列表中选择新主题。
- 享受! ;)
- Copy pretty.tmTheme to 'cloud9/node_modules/ace/tool/tmThemes/'
- Go to cloud9/node_modules/ace/tool/ and run 'node tmtheme.js'
- Go to cloud9/
- Run 'make ace'
- Run 'make theme'
- Open cloud9/plugins-client/ext.themes_default/themes_default.js and add your theme to the list. For ex: '"Pretty": "ace/theme/pretty"'
- Run Cloud9 and select new theme from the view/themes list.
- Enjoy! ;)
这篇关于Cloud9 IDE本地主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!