原子代码编辑器.为什么我的代码没有颜色?

编程入门 行业动态 更新时间:2024-10-14 06:22:57
本文介绍了原子代码编辑器.为什么我的代码没有颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,我最近开始使用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.

更多推荐

原子代码编辑器.为什么我的代码没有颜色?

本文发布于:2023-10-27 10:54:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1533159.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:代码   编辑器   原子   颜色

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!