cmdblockzqg / oi-runner Goto Github PK
View Code? Open in Web Editor NEWA VScode extension for OIers and ACMers
License: MIT License
A VScode extension for OIers and ACMers
License: MIT License
我在编译运行abcd.cpp
时,提示:
Error: spawn abcd ENOENT
exit with code -2 in 0.001s
报错如下,似乎没有打包 ui 部分 :
Error: Unable to read file '/Users/xxxa/.vscode/extensions/cmdblock.oi-runner-0.1.1/ui/dist/assets/index.js' (Error: Unable to resolve nonexistent file '/Users/xxxa/.vscode/extensions/cmdblock.oi-runner-0.1.1/ui/dist/assets/index.js')
at r.w (workbench.desktop.main.js:sourcemap:630:16409)
at r.v (workbench.desktop.main.js:sourcemap:630:16204)
at async v (workbench.desktop.main.js:sourcemap:1146:92107)
at async s.rb (workbench.desktop.main.js:sourcemap:1182:27129)
workbench.desktop.main.js:sourcemap:1146 Error: Unable to read file '/Users/xxxa/.vscode/extensions/cmdblock.oi-runner-0.1.1/ui/dist/assets/index.css' (Error: Unable to resolve nonexistent file '/Users/xxxa/.vscode/extensions/cmdblock.oi-runner-0.1.1/ui/dist/assets/index.css')
at r.w (workbench.desktop.main.js:sourcemap:630:16409)
at r.v (workbench.desktop.main.js:sourcemap:630:16204)
at async v (workbench.desktop.main.js:sourcemap:1146:92107)
at async s.rb (workbench.desktop.main.js:sourcemap:1182:27129)
绝对还不错,但是怎么编译没搞懂.
没用运行语言框呀?
插件安装后配置过settings.json
中的oi-runner.commands
和oi-runner.exts
,但在cpp文件中oi-runner无法点击,无法选择运行,无法在input中填入输入
settings.json 中与oi-runner有关的部分如下
"oi-runner.exts": {
"cpp": "C++11 -O2"
},
"oi-runner.commands": {
"C++11 -O2": [
// g++ test.cpp -otest -std=c++11 -O2 -Wall
[
"g++",
[
"[file]",
"-o [file-].out",
"-std=c++11",
"-O2",
"-Wall",
"-Werror"
]
],
// 运行产物 test.exe
[
"[file-].out",
[]
]
]
}
问题截图
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.