本文介绍了在编辑器中将多行代码分布在多行上,以便于阅读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我有一长串代码用于字符串格式,并且想知道如何将它传播到多行,所以它是在编辑器界面中更容易阅读? const 字符串 format = {0,3} | {1,6} | A {2,6} | B {3,4} | C {4,4} | D {5,4} | E {6,4} | F {7,4} | G {8,3} | H {9,4} | I {10,4} | J {11,3} | K {12,2} | L {13,2} | M {14,6} | N {15,6} | O {16,6} | P {17,6} | Q {18,1} | R {19,4} | S {20,2} | T {21,4} | U {22,4} | V { 23,3} | W {24,8}; 感谢帮助, suprsnipes 解决方案 Hi,I have a long line of code that is for a string format and would like to know how I can spread it over multiple lines so it is easier to read in the editor screen?const string format = "{0,3} | {1,6} |A {2,6} |B {3,4} |C {4,4} |D {5,4} |E {6,4} |F {7,4} |G {8,3} |H {9,4} |I {10,4} |J {11,3} |K {12,2} |L {13,2} |M {14,6} |N {15,6} |O {16,6} |P {17,6} |Q {18,1} |R {19,4} |S {20,2} |T {21,4} |U {22,4} |V {23,3} |W {24,8}";Appreciate the help,suprsnipes 解决方案 这篇关于在编辑器中将多行代码分布在多行上,以便于阅读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-18 13:18