开发者

How to force Visual Studio to produce real tabs in the generated file?

I noticed there is no tab in the *.cs file generated by Visual Studio even though we press tab in the editor.

I wan开发者_JAVA技巧t to import the *.cs file actually. But because no tab in the file, I cannot set the tabsize of \lstinputlisting{}. For more detail see this.


Question:

Is it possible to force Visual Studio to make real tabs in the generated file instead of plain spaces?


To keep Visual Studio from automatically replacing tabs with spaces, you need to enable the "Keep tabs" setting for the language of your choice in the Options dialog:

   

How to force Visual Studio to produce real tabs in the generated file?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜