Участник
Пользователь
- Сообщения
- 496
- Реакции
- 621
- Помог
- 16 раз(а)
Gudaus добавил(а) новый ресурс: AMXX Pawn в Visual Studio Code
[Error - 2:32:27 PM] Starting client failed
9
Couldn't start client AMXXPawn Language Service
Версия: 1.26.1
Фиксация: 493869ee8e8a846b0855873886fc79d480d342de
Дата: 2018-08-16T18:37:28.532Z
Electron: 2.0.5
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Архитектура: ia32
Версия: 1.25.1
Фиксация: 1dfc5e557209371715f655691b1235b6b26a06be
Дата: 2018-07-11T15:43:53.668Z
Electron: 1.7.12
Chrome: 58.0.3029.110
Node.js: 7.9.0
V8: 5.8.283.38
Архитектура: x64
tasks.json
для удобного компилирования плагина.{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Compile AMXX Plugin with all debug",
"type": "shell",
"windows": {
"command": "${workspaceRoot}/scripting/amxxpc.exe",
},
"linux": {
"command": "${workspaceRoot}/scripting/amxxpc",
},
"args": [
"${file}",
"-i${workspaceRoot}/scripting/include",
"-o${workspaceRoot}/plugins/${fileBasenameNoExtension}.amxx",
"-d3"
],
"promptOnClose": false,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "never", // "never" or "always" when we need to see also console output
// "reveal": "always",
"panel": "dedicated",
"clear": true
},
"problemMatcher": {
"fileLocation": "absolute",
"pattern": {
// Group 1 - filename (absolute path for filename)
// Group 2 - beginning line
// Group 3 - ending line (optional)
// Group 4 - error | warning (severity)
// Group 5 - message
"regexp": "(.+?)\\((\\d+)(?:\\s--\\s(\\d+))?\\)\\s:\\s(warning|error)\\s\\d+:\\s(.*)",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
}
]
}
так себя ведёт автоматическая экранировка(запуск через "command": "${workspaceRoot}/scripting/amxxpc.exe")."""C:\
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Compile AMXX Plugin with all debug",
"type": "shell",
"windows": {
"command": ".\\scripting\\amxxpc.exe",
},
"linux": {
"command": "./scripting/amxxpc",
},
"args": [
"${file}",
"-i${workspaceFolder}/scripting/include",
"-o${workspaceFolder}/plugins/${fileBasenameNoExtension}.amxx",
"-d3"
],
"promptOnClose": false,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "never", // "never" or "always" when we need to see also console output
// "reveal": "always",
"panel": "dedicated",
"clear": true
},
"problemMatcher": {
"fileLocation": "absolute",
"pattern": {
// Group 1 - filename (absolute path for filename)
// Group 2 - beginning line
// Group 3 - ending line (optional)
// Group 4 - error | warning (severity)
// Group 5 - message
"regexp": "(.+?)\\((\\d+)(?:\\s--\\s(\\d+))?\\)\\s:\\s(warning|error)\\s\\d+:\\s(.*)",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
}
]
}
Не deprecated, он применяется при указании пути в настройках AMXXPawn, например если использовать "amxxpawn.compiler.includePaths": ["${workspaceFolder}\\scripting\\include\\"] то редактор не видит инклюды, а если так "amxxpawn.compiler.includePaths": ["${workspaceRoot}\\scripting\\include\\"] то все в порядке.