Aptana Studio 3代码帮助Sass(.scss)文件 [英] Aptana Studio 3 code assist for Sass (.scss) files

查看:207
本文介绍了Aptana Studio 3代码帮助Sass(.scss)文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Aptana Studio 3,我想获得代码辅助功能为Sass(.scss)文件工作。如果代码辅助对Sass语法/声明不起作用,但是我想获得标准CSS声明的语法高亮和代码完成帮助。因此,例如,如果我输入background,我想编辑器显示语法,就像它为HTML。

I'm using Aptana Studio 3 and I'd like to get the code assist feature to work for Sass (.scss) files. It's OK if code assist doesn't work for Sass syntax/declarations, but I'd like to get syntax highlighting and code completion help for standard CSS declarations. So for example if I type in "background" I'd like the editor to display the syntax like it does for HTML.

我添加了一个新的文件关联首选项for .scss文件(从这里开始: https://wiki.appcelerator.org/display/ tis / Changing + your + file + association + preferences ),并将CSS编辑器指定为.scss文件的默认编辑器。这会得到我的语法高亮,但没有代码完成帮助CSS规则。

I've added a new File Association Preference for .scss files (from here: https://wiki.appcelerator.org/display/tis/Changing+your+file+association+preferences), and assigned the CSS Editor as the default editor for .scss files. This gets me syntax highlighting, but no code completion help for CSS rules.

我做错了或者我只是运气得到代码完成/代码协助帮助?

Am I doing something wrong or am I just out of luck for getting code completion/code assist help?

推荐答案

这个^
对于那些没有这样做的人已经去:
preferences>一般>编辑器>文件关联
在文件类型选择sass(和scss),单击添加,选择css源编辑器,添加它。然后在关联的编辑器框中选择css源编辑器,然后单击默认值。
之后 - - 沮丧和谷歌代码完成sass aptana工作室像我们做的,然后发布的解决方案,如果你发现它或upvote所以有人发现。

this^ for those who haven't done it already go to: preferences > general > Editors> File Associations in filetypes select sass (and scss), click add, choose css source editor, add it. then select the css source editor in the associated editors box and click default. after doing that- get frustrated and google code completion sass aptana studio like we did and then post the solution if you find it or upvote so someone finds out.

这篇关于Aptana Studio 3代码帮助Sass(.scss)文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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