是否有任何指令可以防止代码片段被更改?
例如:
procedure Test;
{CODE_FORMATTER OFF}
const a1 = 'a'; a2 = 'b'; a3 = 'c';
b2 = 'd'; b3 = 'e';
{CODE_FORMATTER ON}
begin
end;
最佳答案
Is there any directive to prevent fragment of code from being changed?
不,没有。
关于delphi - 如何保护代码片段免于在 Delphi 中自动格式化 CTRL+D,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66088191/