Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /HEAD /. /tools /vscode /cpp.code-snippets
blob: 94de32a73fc33f6cccc5298069c9bdbcd052ff9a [file] [log] [blame]
{
// This file contains snippets that might be useful to you for Chrome
// development.
"Chrome Header":{
"prefix":"hdr",
"body":[
"// Copyright ${CURRENT_YEAR} The Chromium Authors",
"// Use of this source code is governed by a BSD-style license that can be",
"// found in the LICENSE file.",
"${0:",
"#ifndef ${TM_FILEPATH/(^\\/.*\\/src\\/)|([^a-zA-Z0-9])|([a-zA-Z0-9])/${2:+_}${3:/upcase}/g}_",
"#define ${TM_FILEPATH/(^\\/.*\\/src\\/)|([^a-zA-Z0-9])|([a-zA-Z0-9])/${2:+_}${3:/upcase}/g}_",
"",
"#endif // ${TM_FILEPATH/(^\\/.*\\/src\\/)|([^a-zA-Z0-9])|([a-zA-Z0-9])/${2:+_}${3:/upcase}/g}_}",
]
},
"Chrome Copyright":{
"prefix":"copyright",
"body":[
"// Copyright ${CURRENT_YEAR} The Chromium Authors",
"// Use of this source code is governed by a BSD-style license that can be",
"// found in the LICENSE file.",
]
},
"Chrome Log":{
"prefix":"log",
"body":"LOG(ERROR) << \"${1:message}\";",
"description":"Chrome Log output to console"
},
"Stack trace":{
"prefix":"st",
"body":"base::debug::StackTrace().Print();"
},
"Stack trace header":{
"prefix":"sth",
"body":"#include \"base/debug/stack_trace.h\""
}
}

[8]ページ先頭

©2009-2025 Movatter.jp