這是Visual Studio和任何其他程序員編輯的編寫者的功能請求。支持文字編程的文本編輯器的功能請求
考慮一個有文化的程序如下:
/* File Name: LiterateProgram.h */ // \begin{comment}
#pragma once
#include "myHeader.h"
/* \end{comment}
%\bigskip
\begin{lstlisting} %
*/
class CSomeClass : public CSomeBase {
public:
float someFunction(float some paramter);
};
// \end{lstlisting} \begin{comment}
/* \end{comment} %*/
我想編輯器窗口有兩個小圖標代表在右下角(COLLAPSE_CODE)和(COLLAPSE_COMMENTS)。如果COLLAPSE_COMMENT,那麼該文件的視圖將如下所示:
+
#pragma once
#include "myHeader.h"
+
class CSomeClass : public CSomeBase {
public:
float someFunction(float some paramter);
};
+
如果COLLAPSE_CODE,那麼該文件的視圖將如下所示:
/* File Name: LiterateProgram.h */ // \begin{comment}
+
/* \end{comment}
%\bigskip
\begin{lstlisting} %
*/
+
// \end{lstlisting} \begin{comment}
+
/* \end{comment} %*/
積分爲通過邊側顯示同時分割兩個視圖。 (也許這是如果兩個圖標都被選中的話)。
這不是一個問題 – msarchet 2010-09-13 14:27:36
常見問題解答說,這是張貼關於「軟件工具通常由程序員使用」問題的網站。我本可以用問題的形式表達這個話題;如果是的話,問題將是:有誰知道一個編輯已經有這個功能?但是,我對答案不感興趣,「不」。 – SmileAndNod 2010-09-13 15:46:28
我給。我已經將主題移到了SourceForge上:https://sourceforge.net/projects/switchhats/ – SmileAndNod 2010-09-14 16:48:46