settings.json && cpp.json

Правка en7, от liusixun2025, 2026-04-25 09:33:00
别给我投反对票行不行?投了的请将我的反对票撤回去。
Can you please not vote against me? Please withdraw my negative vote for those who have voted.
Можно ли, пожалуйста, не голосовать против меня? Пожалуйста, снимите мой голос против.
vscode settings.json 一种设置
{
    "editor.mouseWheelZoom": true, "editor.trimAutoWhitespace": false,
    "editor.fontFamily": "consolas, 'courier new',  simsun, 'dejavu sans mono','microsoft yahei'",
	"editor.unicodeHighlight.invisibleCharacters": false,  "editor.unicodeHighlight.ambiguousCharacters": false,
    "editor.detectIndentation": false,  "editor.renderWhitespace": "all",
	"update.mode": "none",  "extensions.autoUpdate": false,  "update.enableWindowsBackgroundUpdates": false,
	"files.defaultLanguage": "cpp", "editor.renderLineHighlight": "gutter", "editor.links": false,
	"render-special-chars.include": ["0080-10FFFF"], "render-special-chars.except": [
"¡-¬®-ƿDŽ-ʬḀ-ỿ", "Ά-ώ", "Ѐ-҂Ҋ-ӿ", //Latin & Cyrillic & Greek
"0621-064A", "0660-066D", "؆؇؉؊،؛؟",  //Arabic
"‘-•…–—ˆˇˌ‹›№™", "!(),:;?<>[]{}~", "3001-3017", //BiaoDian
"①-⓿❶-❿", "₠-₿←-↙※❀❁", //XuHao & Special
"⁰-ₜᴬ-ᵥᶛ-ᶿⱼⱽ", "ℂℍℕℙℚℝℤⅈ⊙⊕⌒=△▱", "⅓-⅞", "⌈⌉⌊⌋‰%﹗﹙﹚﹛﹜﹝﹞", 
    "∀-∑∓√-∵∷-⊋", //Math Symbols
"ぁ-んァ-ヶー", "AC00-D7A3", "一-鿿"//Japanese & Korean & Chinese
    ], "highlight-unexpected-characters.rules": [ "Ά-ώ", "ƿƉ‚–⁰ỽẞ" ],
    "highlight-bad-chars.additionalUnicodeChars": [ "Ѐ-҂Ҋ-ӿ", "ᴼᵒ" ],
    "highlight-bad-chars.badCharDecorationStyle": { "backgroundColor": "#50d0d090", "borderColor": "#50d0d0d0" },
    "C_Cpp.default.compilerPath": "D:\\mingw\\bin\\g++.exe", "workbench.colorTheme": "GitHub Light Default",
    "extensions.experimental.affinity": { "miku3920.vscode-render-special-chars": 2,
        "wengerk.highlight-bad-chars": 2, "gizeta.highlight-unexpected-characters": 2,
        "brunnerh.insert-unicode": 2, "alefragnani.pascal": 2 },
    "workbench.colorCustomizations": { "editor.background": "#f6f6f6",
        "editorWhitespace.foreground": "#c1c1c1", "editor.selectionBackground": "#ccddee",
        "editorBracketHighlight.foreground5": "#729212",
        "editorBracketHighlight.foreground2": "#129272",
        "editorBracketHighlight.foreground6": "#9212b2" },
    "editor.tokenColorCustomizations": { 
        "comments": "#725232",
        "textMateRules": [
{"scope": "invalid.illegal", "settings": {"foreground": "#998811", "fontStyle": "" } },
        ]
    },
    "C_Cpp.inactiveRegionOpacity": 0.8, "editor.showUnused": false,
}
vscode cpp.json 一种设置
{
"__1csdm__": {
"prefix": "__1csdm__",
"body": [
"#include<bits/stdc++.h>",
"using namespace std;",
"typedef long long LL;  typedef unsigned long long ULL;  typedef long double LD;",
"",
"#define  rep(I,A,B) for(int I=A, eax=B; I<=eax; ++I)",
"#define repo(I,A,B) for(int I=A, eax=B; I< eax; ++I)",
"#define  REP(I,A,B) for( LL I=A, eax=B; I<=eax; ++I)",
"#define REPO(I,A,B) for( LL I=A, eax=B; I< eax; ++I)",
"#define  reb(I,A,B) for(int I=A, eax=B; I>=eax; --I)",
"#define rebo(I,A,B) for(int I=A, eax=B; I> eax; --I)",
"#define  REB(I,A,B) for( LL I=A, eax=B; I>=eax; --I)",
"#define REBO(I,A,B) for( LL I=A, eax=B; I> eax; --I)",
"#define times(A) reb(ID, A, 1)",
"#define BtoE(I,A) for(auto I=A.begin(); I!=A.end(); ++I)",
"#define EtoB(I,A) for(auto I=A.rbegin(); I!=A.rend(); ++I)",
"",
"typedef vector<int> VI;  typedef vector<LL> VL;  typedef vector<char> VC; ",
"typedef vector<VI> VII, VVI;  typedef vector<VL> VLL, VVL;  typedef vector<VC> VCC, VVC; ",
"template<typename T> void push_back(vector<T>&v, const T& e) {",
"    v.size()==v.capacity() && v.size()>1 && (v.reserve(v.size() + (v.size()>>1)), true), v.push_back(e); }",
"",
"#define FI first",
"#define SE second",
"typedef pair<int,int> pii;  typedef pair<int,LL> pil;  typedef pair<LL,int> pli;  typedef pair<LL,LL> pll; ",
"",
"namespace Math {double pi=acos(-1), e=exp(1.0), gd=(sqrt(5)+1)/2, gam=0.5772156649; }; ",
"",
"#define maxHp(T) priority_queue<T>",
"#define minHp(T) priority_queue<T, vector<T>, greater<T> >",
"#define Dsort(A,B,T) sort(A, B, greater<T>())",
"#define FileIO(A) freopen(A\".in\", \"r\", stdin), freopen(A\".out\", \"w\", stdout)",
"",
"const int inf=0x7F7F7F7F, inf2=inf/127*63, inf3=inf/127*42; ",
"const LL INF=0x7F7F7F7F7F7F7F7F, INF2=INF/127*63, INF3=INF/127*42; ",
"",
"bool __main(int taskID) {",
"    ",
"    return 0;",
"}",
"",
"int main() {",
"    ios::sync_with_stdio(false), cin.tie(0), cout.tie(0); ",
"    int tasks=1;  //cin>>tasks; ",
"    repo(taskID, 0, tasks) if(__main(taskID)) return 0; ",
"    return 0;",
"}"
]
},
}

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en8 Английский liusixun2025 2026-04-25 10:21:47 320
en7 Английский liusixun2025 2026-04-25 09:33:00 187
en6 Английский liusixun2025 2026-04-25 08:25:23 113
en5 Английский liusixun2025 2026-04-25 08:22:56 601
en4 Английский liusixun2025 2026-04-25 04:54:25 35
en3 Английский liusixun2025 2026-04-25 04:53:49 11
en2 Английский liusixun2025 2026-04-25 04:53:21 12
en1 Английский liusixun2025 2026-04-25 04:52:44 4135 Initial revision (published)