任务仅适用于工作区文件夹。 [英] Tasks are only available on a workspace folder.

查看:469
本文介绍了任务仅适用于工作区文件夹。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是noob程序员,试图弄清楚如何使用Visual Studio Code。我不确定VSC是如何工作的(就像它实际上做的那样),我能找到的所有教程都使用旧版本,并且我的VSC上没有选项。例如
我没有"启动新项目"选项。我不确定我是否错过了先决条件或错误到底是什么。当我尝试运行python文件时,我收到错误"任务仅在工作区文件夹中可用
" ;.任何帮助表示赞赏!

解决方案

您好SetSailonaTearDrop,


Visual Studio Code是一个轻量但强大的源代码编辑器


不确定使用的是哪个版本,目前最新版本为1.16。请访问已显示新更新的
发行说明


如果你想学习,这是教程的正式文件提供:


https://code.visualstudio.com/docs


真的希望它有所帮助。


而且,顺便说一下,这个论坛是针对VS Code以外的Visual Studio IDE问题,希望你能理解。


我在
此页面上找到了社区
,你在那里冷发你的问题,相应的支持工程师将为你提供专业的答案:






感谢您的善意。


 


祝你好运,


Fletcher



Hi I am noob programmer trying to figure out how to use Visual Studio Code. I'm not sure how VSC works (as in what's it's actually doing) and all the tutorials I can find are using an older version and have options that aren't present on my VSC. For instance I don't have a 'start new project' option. I'm not sure if I'm missing a prerequisite or exactly what's wrong. When I try to run a python file I get the error "Tasks are only available on a workspace folder.". Any help is appreciated!

解决方案

Hi SetSailonaTearDrop,

Visual Studio Code is a lightweight but powerful source code editor.

Not sure which version are using, currently the latest version is 1.16. please visit the release note which has shown the new updates.

and if you want to learn, here is the official doc offer the tutorial:

https://code.visualstudio.com/docs

Really hope it helps.

And, btw, this forum is for Visual Studio IDE issues other than VS Code, hope your could understand.

And I found the communities on this page, where you cold post your issue there, and the corresponding support engineer will offer you professional answer:

Thanks for your kind understanding.

 

Best regards,

Fletcher


这篇关于任务仅适用于工作区文件夹。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆