Cloud9 IDE本地主题 [英] Cloud9 IDE local themes

查看:96
本文介绍了Cloud9 IDE本地主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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':


  1. 将pretty.tmTheme复制到 cloud9 / node_modules / ace / tool / tmThemes /
  2. 转到cloud9 / node_modules / ace / tool /并运行'node tmtheme.js'

  3. 转到cloud9 /

  4. 运行'make ace'

  5. 运行'make theme'

  6. 打开cloud9 / plugins-client / ext.themes_default / themes_default.js和将您的主题添加到列表中。例如:' Pretty: ace / theme / pretty'

  7. 运行Cloud9并从视图/主题列表中选择新主题。

  8. 享受! ;)

  1. Copy pretty.tmTheme to 'cloud9/node_modules/ace/tool/tmThemes/'
  2. Go to cloud9/node_modules/ace/tool/ and run 'node tmtheme.js'
  3. Go to cloud9/
  4. Run 'make ace'
  5. Run 'make theme'
  6. Open cloud9/plugins-client/ext.themes_default/themes_default.js and add your theme to the list. For ex: '"Pretty": "ace/theme/pretty"'
  7. Run Cloud9 and select new theme from the view/themes list.
  8. Enjoy! ;)

这篇关于Cloud9 IDE本地主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆