您好,我最近开始使用Atom代码编辑器.在上一个项目中,我安装了一些工具来使我的编码更具交互性.我猜这些功能之一为我的代码增添了色彩,使其更易于阅读. 但是,我今天开始了一个新项目,并且代码在深色背景上都是白色的.如何为代码着色?我附上了彩色代码和非彩色代码的两个屏幕截图,目的只是为了说明我的意思,但是非常简单. 预先感谢!
Hi I started using Atom Code editor recently. During my last project, I installed a couple of tools to make my coding more interactive. I guess one of the features added color to my code which makes it easier to read. However, I started a new project today and the code is all white on a dark background. How do I color my code? I have attached two screenshots of the colored code and the non colored code just to illustrate what I mean but its pretty straightforward. Thanks in advance!
推荐答案Atom可能无法立即识别代码的语法.检查屏幕的右下角,以确保Atom具有正确的语言/文件扩展名.如果atom不自动执行此操作,则可以手动选择它.如果atom无法识别您的代码,则可能还需要安装一些新软件包.
Atom might not be recognizing the syntax of your code immediately. Check the bottom right corner of the screen to make sure atom has the correct language/file extension selected. You can manually select this if atom doesn't do it automatically. You might also need to install some new packages if atom isn't recognizing your code.
更多推荐
原子代码编辑器.为什么我的代码没有颜色?
发布评论