常用快捷键 方便的提升效率
ctrl p 打开搜索(可以搜文件 超级快)
ctrl shift p 也是一个搜索面板
调试配置
[img=620,0]C:\Users\sxr\AppData\Local\YNote\data\sxr6947@163.com\182419edfc7a4ee083b5e9fc00252e8e\clipboard.png[/img]
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Enterprise.Web/bin/netcoreapp2.2/Enterprise.Web.dll",
"args": [],
"cwd": "${workspaceFolder}/Enterprise.Web",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Enterprise.Web/Views"
}
},
{
"name": ".NET Core No build (web)",
"type": "coreclr",
"request": "launch",
//"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Enterprise.Web/bin/netcoreapp2.2/Enterprise.Web.dll",
"args": [],
"cwd": "${workspaceFolder}/Enterprise.Web",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Enterprise.Web/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}",
}
[img=620,0]C:\Users\sxr\AppData\Local\YNote\data\sxr6947@163.com\69d2d59fb8264587b672a6a89c94f571\clipboard.png[/img]
{
// Place your snippets for csharp here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Des": {
"prefix": "Des",
"body": [
"[Description(\"$0\")]",
],
"description": "注释标签"
}
}