atom editor:`styles.less`选项列表

时间:2018-05-22 19:39:08

标签: atom-editor

在哪里可以找到Atomstyles.less配置文件的关键字列表?

有很多具体的要求突出显示一件事,但我似乎无法找到已实施关键字的一般概述。

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)

范围名称应该基于本页底部列出的范围(崇高文本也基于此列表) https://manual.macromates.com/en/language_grammars

在实践中,没有什么能完美契合。获得所需范围的最可靠方法是在命令选项板中运行import socket import threading as thread sock = socket.socket(socket.AF_INET , socket.SOCK_STREAM) host = 'ip found at whatsmyip.com' sock.connect((host , 21342)) def get_info(sock): while True: print sock.recv(1024) get_info_thread = thread.Thread(target = get_info , args = [sock]) get_info_thread.daemon = True get_info_thread.start() while True: sock.send(raw_input()) sock.close() ,这将弹出一个通知,其中包含光标上所有范围的列表。然后,您需要选择相关的部分,并在每个部分前加Editor:Log cursor scope

,例如,如果范围弹出窗口显示syntax--,您可以使用

定位粗体范围
source.md, markup.bold.md

这只是文字;如果你知道足够的CSS,可以修改任何东西。打开开发工具可让您使用选择器工具在DOM页面上找到您喜欢的任何内容。将其定位到atom-text-editor .syntax--markup.syntax--bold { color: red } 文件中可让您应用更改。