我最近开始使用Atom.我遇到的一个问题是为Ruby定义了太多/不明确的片段.这会使标签更糟糕,因为您有时会获得一些不相关的代码而不是您想要的名称.我想知道如何关闭"语言Ruby"包中的特定片段,或者关闭所有片段的失败.最好不要完全禁用Ruby包.
每当我在Atom编辑器中打开一个项目时,git会在我合并分支时抛出权限被拒绝.Closing atom解决了这个问题.
是否有可能在Atom中避免这种行为?
编辑:我正在使用SourceTree https://www.sourcetreeapp.com/
我使用atom-beautify来格式化html,但总是将所有属性放在一行中.如何设置atom-beautify以保持属性在不同的行中.
<!--What I want-->
<a class="btn btn-default"
ng-click="history.more=!history.more">
More
</a>
<!--The current format result-->
<a class="btn btn-default" ng-click="history.more=!history.more">
More
</a>
Run Code Online (Sandbox Code Playgroud)
我正在使用Atom来开发php,但对我来说,但是我对编辑器有一个问题,我使用One Dark主题,但我尝试更改打开文件的右滚动条的颜色和大小,因为它很小而且很难看我
我尝试这个信息 更改atom-text-editor窗格滚动条颜色
但我没有看到任何变化.
有任何想法吗?谢谢
我试图弄清楚为什么这个原子包https://github.com/AtomLinter/linter-elixirc/ misbehaves.它的作者说我应该在包的某些功能中设置断点,看看那里发生了什么.我不知道在运行atom时如何做到这一点.
以下是我所说的评论:https://github.com/AtomLinter/linter-elixirc/issues/63#issuecomment-214916262
有没有办法在Atom编辑器中进行本机macOS(OS X)拼写检查和自动更正?(英文单词)
这对Markdown文件很有用.
IDE最着名的功能之一就是您知道在项目中查找变量,函数或类的引用(或用法).我一直在尝试Atom Atom).我喜欢它,到目前为止.但是,我找不到一种方法来访问var/function的引用(或用法)或JavaScript代码中的类.Atom编辑器中没有此功能吗?我在下面给出两个例子.
a)在下面的简单代码中,Atom不接受我的"标题"声明.通过右键单击"标题",我正在制作"Go to Declaration"
Template.docAddForm.events({
'submit .js-add-doc':function(event){
const title = event.target.doctitle.value; // The declaration of "title"
Session.set('docTitle', title); // Cannot access the declaration of "title" in Atom
}
});
Run Code Online (Sandbox Code Playgroud)
另一个例子.我不能访问声明的用户对象,它是在下面的代码输入"commons.js"声明的集合.
import { Meteor } from 'meteor/meteor';
import {Users} from '../lib/commons.js';
/** PUBLICATIONS **/
Meteor.publish('users', function () {
return Users.find({}, {fields: {_id: 0}});
});
Run Code Online (Sandbox Code Playgroud) 我一直在尝试我在网上找到的所有例子,但无法让它发挥作用.当我尝试安装或搜索软件包时,我会获得"证书链中的自签名证书".这是我尝试过的:
命令行尝试:
apm config set strict-ssl false
apm config set http-proxy http://katie:fakepassword@fakeproxy.company.com:8080
apm config set https-proxy http://katie:fakepassword@fakeproxy.company.com:8080
# I then start atom using this terminal window like this:
atom
Run Code Online (Sandbox Code Playgroud)
内容~/.atom/.apmrc:
http-proxy=http://katie:fakepassword@fakeproxy.company.com:8080
https-proxy=http://katie:fakepassword@fakeproxy.company.com:8080
strict-ssl=false
Run Code Online (Sandbox Code Playgroud)
添加配置到~/.bashrc:
#I also added these configuration lines to my ~/.bashrc to ensure my configuration is kept for every new terminal:
username="katie"
password="fakepassword"
proxy="fakeproxy.company.com:8080"
echo "http-proxy=http://$username:$password@$proxy" > ~/.atom/.apmrc
echo "https-proxy=http://$username:$password@$proxy" >> ~/.atom/.apmrc
echo "strict-ssl=false" >> ~/.atom/.apmrc
apm config set strict-ssl false
apm config set …Run Code Online (Sandbox Code Playgroud) atom-editor ×10
javascript ×2
autocorrect ×1
coffeescript ×1
debugging ×1
git ×1
html ×1
ide ×1
js-beautify ×1
macos ×1