如何在vscode上安装扩展

时间:2016-06-07 12:25:28

标签: visual-studio-code

我首先在<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Jerik's this and that</title> <meta name="description" content="Some stuff that I want to mention" /> <!-- added stylesheet manually, normaly strapdown does this for me autoamatically. Does not work now --> <!-- link rel="stylesheet" href="v/0.2/strapdown.css" type="text/css" media="screen" charset="utf-8"> <link rel="stylesheet" href="v/0.2/themes/cerulean.min.css" type="text/css" media="screen" charset="utf-8"> <link rel="stylesheet" href="v/0.2/themes/bootstrap-responsive.min.css" type="text/css" media="screen" charset="utf-8"--> <script src="https://code.jquery.com/jquery-1.10.2.js"></script> </head> <body> <xmp theme="cerulean" style="display:none;"></xmp> <script type="text/javascript" charset="utf-8"> // http://stackoverflow.com/questions/11917734/jquery-ajax-call-success-how-do-i-change-a-global-variable-in-the-wrapper-javas // http://stackoverflow.com/questions/7598821/return-responsetext-from-jquery-get function showmd( value ) { $( "xmp" ).html( value ); $.getScript("http://strapdownjs.com/v/0.2/strapdown.js").done( function( ) { console.log( "loaded" ) } ); } $.ajax({ url: "https://raw.githubusercontent.com/jerik/jerik.github.io/master/readme.md", method: "GET", success: function(data) { showmd(data); } }); </script> </body> </html> 上启动了vscode(linux),并希望安装raspberryPi3

所以我按下了:

cpptool

并命令

Ctrl + Shift + p

然后显示

  

没有Commnads Mathing

此外,我无法安装所有其他扩展程序。 我该怎么办?

1 个答案:

答案 0 :(得分:3)

Ctrl + Shift + P打开命令调色板,可用于根据&#34;漂亮的名字&#34;来运行命令。

安装扩展程序的最简单方法是首先打开&#34;快速打开&#34;界面(Ctrl + P),然后键入ext install <extension>

您也可以直接从命令面板安装扩展程序,打开它,然后输入Extensions: Install Extension,然后选择(或输入)扩展程序的名称。

值得注意的是,当您在命令面板中运行Extensions: Install Extension命令时,它只需打开&#34;快速打开&#34;界面,然后将ext install插入其中。