![](/img/trans.png)
[英]How to enable the automatic asterisk in Visual Studio 2010 when adding a multi-line comment in C++?
[英]C++ Visual Studio - How to tab at end of line to add comment
這是一件愚蠢而令人沮喪的事情。 幾年后使用 VS 2019,我不記得允許我在行尾使用 Tab 來添加行尾注釋的選項。 當我在最后點擊 Tab 時,光標就在那里
int frustrationLevel = 99;
我想在分號 dagnabit 后面打標簽!
int frustrationLevel = 99; // omg please help me!
我知道這曾經是可能的。
蒂亞!
在將選項后選項與選項卡按需要工作的先前版本的 VS 進行比較后,我發現了一個已設置的選項
選項 -> 文本編輯器 -> C/C++ -> 代碼樣式 -> 格式 -> 常規 :: 鍵入選項卡時自動縮進。
取消選中此選項解決了我的問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.