有没有一种方法可以自动格式化Atom中的空格以创建整洁的列?

时间:2020-05-12 02:50:24

标签: formatting latex atom-editor

基本上,我想从这里开始

@inproceedings{208512,
    author = {Phillip Rogaway},
    title = {The Moral Character of Cryptographic Work},
    year = {2016},
    address = {Austin, TX},
    publisher = {{USENIX} Association},
    booktitle = {Proceedings of the 25th {USENIX} Security Symposium ({USENIX} Security 16)},
    month = {August}
}

对此

@inproceedings{208512,
    author      = {Phillip Rogaway},
    title       = {The Moral Character of Cryptographic Work},
    year        = {2016},
    address     = {Austin, TX},
    publisher   = {{USENIX} Association},
    booktitle   = {Proceedings of the 25th {USENIX} Security Symposium ({USENIX} Security 16)},
    month       = {August}
}

我已经在Atom的正则表达式“查找/替换”功能中尝试了各种方法,但是我不知道是否有一种方法可以做我要寻找的事情。我当时在想可以指定行位置(例如 x 个字符),并用空格填充[a-z]*=之间的空格...但是我没有看到任何网上建议我可以做到的事情。

任何帮助(甚至告诉我在Atom中是不可能的,或者建议使用其他工具)都将不胜感激。

0 个答案:

没有答案