好的崇高/自动完成文本/编程编辑器 [英] Good sublime/autocomplete text/programming editor

查看:59
本文介绍了好的崇高/自动完成文本/编程编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在搜索工具,以便在编码时提高我的工作效率;)

有很多自动完成/崇高的文本编辑器在那里,但直到现在我才能找到一个可以为我自动继续数组。

让我说我有这样的事情(忽略废话我只是想表明我需要的东西;)) :





im searching a tool to incrase my productivity while coding ;)
There are plenty autocomplete/sublime text editors out there but until now i just wasnt able to spot one that can auto-continue arrays for me.
Lets say i have something like this (ignore the nonsense i just want to show what i need ;)):

array[0]=
array[0]=
array[0]=
array[0]=







并使用编辑器我会喜欢自动继续将数组转换为:






and using the editor i would like to continue the array automatically to convert it to this:

array[0]=
array[1]=
array[2]=
array[3]=





我希望你知道我的意思。

我t只需要手动分配300个阵列和更多的工作;)



我希望有人可以帮助我。



提前多多谢谢:)



I hope you know what i mean.
It is just to much work to assign 300 arrays and more manually ;)

I hope someone can help me.

Thanks a lot in advance :)

推荐答案

我很遗憾地说,但是有了这样的代码设计,没有任何工具可以帮助你...

初始化一个数组 - 任何大小 - 就像你提出的方式是完全错误的。

有选项

I'm sorry to say but with such code-design no tool will help you out...
To initialize an array - of any size - in the way like you propose is totally wrong.
There is the option of
int array[5] = {1,2,3,4,5};



但对于300个元素,您可能需要重新考虑您的设计!!!



http://www.tutorialspoint.com/cprogramming/c_arrays.htm [ ^ ]


这篇关于好的崇高/自动完成文本/编程编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆