-
Using with VSCode online
2021-01-07 03:23:55extension since it cannot be enabled in the remote server.</code> when trying to install the extension using VSCode online (online.visualstudio.com) running self-hosted environment on macOS (Catalina... -
KOGITO-866: Cover ONLINE, VSCODE, DEFAULT on Context Editor unit Testing
2020-12-09 06:39:16<div><p>Adding test coverage for all channels.</p><p>该提问来源于开源项目:kiegroup/appformer</p></div> -
VSCode export does not work in online compiler
2021-01-09 11:08:48Online compiler <p>Export to vscode_gcc_arm, result: <p><img alt="error" src="https://img-blog.csdnimg.cn/img_convert/34655f5af92ec9c0da3d1a03e63c19d2.png" /></p><p>该提问来源于开源项目:ARMmbed... -
Model Checking Pane empty in VSCode online because of unsafe-inline
2020-12-08 22:47:24<p>Something appears to have changed in VSCode online, because version 1.1 and 1.2 - which I remember to work correctly - show the same error.</p><p>该提问来源于开源项目:alygin/vscode-tlaplus... -
After upgrading VSCode to 1.18.0, vscode show red error lines on almost every code line
2020-12-02 19:12:02<div><p>After upgrading to 1.18.0, vscode show red error lines on almost every code line like at the screenshot. <p>Between, the project builds and runs properly. And idea? <p><img alt="image" src=... -
Issue running code line-by-line in vscode: Cannot determine RHOME
2020-12-30 06:12:32enter on the first line (which happens to say <code>library(tidyverse)</code> but this is irrelevant) <p><strong>Do you want to fix by self?</strong></p> <p>I wish I could <p><strong>(If yes,) what ... -
Invoking tool from command line for VSCode Extension
2020-12-01 21:31:59m in the process of writing a VSCode extension that adds support for <code>reorder-python-imports</code>. As part of this process, I need to be able to provide a file that may not yet have been saved ... -
Incomplete code completion on VSCode
2020-12-25 23:19:17<div><p>Not sure if this is a bug in the Rust plugin or not, but I cannot seem to get code completion to work quite right in VSCode. I can see the options for completion, but when I "complete"... -
stop working on vscode 1.2
2020-12-27 07:34:49It does not crash/stop and no message is displayed but the indicator of current execution statement on code editor desapear and variables from the left pane also desapear. If I stop the debug and ... -
Cannot run on iOS device from command line or from VSCode plugin
2020-11-24 11:59:35<code>ns create --ng example</code> project installs correctly on iOS device but doesn't run, faced with error: <pre><code>Error while trying to start application org.nativescript.example on ... -
Versions 0.4.6 and 0.4.7 on Windows stop tasks working on VSCode
2020-11-27 14:03:05line and leaves the status bar saying the task is still executing. Manually downgrading to 0.4.5 from ... -
Cannot start powershell 6 in debug on vscode
2020-12-05 18:04:22()</code> section of the command, I get a comman line with <code>PowerShell Integrated Terminal</code> that apparently does nothing (I suspect because it's told to receive and pipe its output ... -
Unable to enable semantic highlighting on vscode
2020-12-02 09:04:10V[12:19:46.341] Preamble for file f:\VSCode\STL\TEST.CPP cannot be reused. Attempting to rebuild it. V[12:19:46.355] <<< {"id":1,"jsonrpc":"2.0","method":"... -
Set -assume-filename based on VSCode language associations
2020-12-09 14:05:23based on the VSCode language associations</li><li>Directly use the VSCode language associations to map custom filename extensions onto clang-format supported ones, e.g. .es6 > Javascript -> .js ... -
Java debugging broken on maven project on update to VScode 1.4.0
2020-12-02 04:45:42<p>Hit F9 to put a breakpoint on the line System.out.println("hello world"); </li><li> <p>Select the Debug code lens on main which throws the following exception </li></ol> <p>Exception has ... -
vscode内置浏览器_重磅!微软发布 Visual Studio Online:Web 版 VS Code + 云开发环境
2020-12-11 19:57:15作者 | formulahendry今天(北京时间 2019 年 11 月 4 日),在 Microsoft Ignite 2019 大会上,微软正式发布了 Visual Studio Online 公开预览版!今天发布的 Visual Studio Online 与五月份发布的 Visual Studio ...作者 | formulahendry
今天(北京时间 2019 年 11 月 4 日),在 Microsoft Ignite 2019 大会上,微软正式发布了 Visual Studio Online 公开预览版!
今天发布的 Visual Studio Online 与五月份发布的 Visual Studio Code Remote Development 可以说是微软今年在开发工具领域最重磅的两个新产品了。
概览
Visual Studio Online 提供了由云服务支撑的开发环境。无论是一个长期项目,或是像 review pull request 这样的短期任务,都可以使用 Visual Studio Online。你可以通过 VS Code、VS IDE 或者 Web 版 VS Code 来连接上云端开发环境。此外,你还可以连接到自己的环境,不需要任何费用!
简单来说,Visual Studio Online 由两部分组成:“前端”与“后端”。
“前端”:VS Code、VS IDE 和 Web 版 VS Code。
“后端”:由云服务支撑的开发环境。
云开发环境
云开发环境是 Visual Studio Online 的“后端”,背后由 Azure 云计算平台提供强有力的支持。目前,Visual Studio Online 云开发环境支持 Linux 云开发环境,有以下两种环境可供选择:
Standard (4 cores, 8 GB RAM, 64 GB HDD)
Premium (8 cores, 16 GB RAM, 64 GB HDD)
目前,Windows 云开发环境处于 Private Preview 阶段。
Visual Studio Online 云开发环境包含了所有软件开发的内容:编译、调试、开发环境还原,等等。当你需要开发一个新项目,或者要 review PR 时,你可以快速地启动一个云开发环境。它会自动配置你需要在项目上工作的所有内容:源代码、运行时、编译器、调试器、编辑器、自定义的 dotfiles、相关的插件等。
Visual Studio Online 云开发环境享有诸多云计算带来的好处:
可以快速地创建或者关闭云端的开发环境。这使得开发者可以有更多的时间在 coding 上,而不是把时间浪费在搭建开发环境上。
水平扩展:你也可以创建多个不同的开发环境。
垂直扩展:如果需要更强的运算能力,可以选择更强的开发环境,使用更强的 CPU 与内存。
由于是托管的环境,无维护成本。
不同的项目有独立的开发与运行环境,相互不会干扰。
按使用量付费。Visual Studio Online 也有内置的自动挂起机制,防止额外的开销。
Web 版 VS Code
相信读者们对 Web 版 VS Code 期待已久了。对 VS Code 熟悉的朋友应该知道,VS Code 是基于 Electron 开发的,而 Electron 是使用 Web 技术栈(JavaScript, HTML 和 CSS)来开发跨平台桌面应用的。所以,把 VS Code 搬到浏览器中,则是必然的趋势。
Visual Studio Online 包含了基于 VS Code 的 Web 版编辑器,它作为 Visual Studio Online 的“前端”,有以下的这些亮点:
可以直接在 Web 版 VS Code 中打开你的 Git 项目。
支持 VS Code 插件。丰富的插件生态,任你挑选你喜欢的插件。
内置的集成终端。犹如在本地的 Terminal 一样强大!
内置的 Visual Studio IntelliCode,利用 AI 提供更强大的代码自动补全,
内置的 Visual Studio Live Share,使得多个开发者可以在 VS Code、VS IDE 或者 Web 版 VS Code 中进行实时的协同开发和调试。
在任何设备上编辑、运行、调试你的项目。是的!可以在 iPad 上运行 VS Code(Web 版)了!
不止 Web
除了 Web 版 VS Code 之外,Visual Studio Online 还支持通过 VS Code 和 VS IDE(Private Preview)连接 Visual Studio Online 云开发环境。
Linux 云开发环境(Public Preview)可以通过两种“前端”编辑器连接:VS Code 和 Web 版 VS Code。
Windows 云开发环境(Private Preview)可以通过所有的三种“前端”编辑器连接:VS Code、VS IDE 和 Web 版 VS Code。
目前,VS IDE 对于 Visual Studio Online 的支持处于 Private Preview 阶段。
自托管的环境
除了连上由 Azure 支持的 Visual Studio Online 云开发环境,开发者还可以连上自己搭建的开发环境。其实,通过 Visual Studio Code Remote Development,开发者早已可以通过 VS Code 来连上远程的开发环境了。现在,有了 Web 版 VS Code,我们可以直接在浏览器中连上自己的远程开发环境,更加地方便!而且,这是完全免费的。
来体验吧!
还等什么呢?快来体验下 Visual Studio Online 吧!全新的开发体验,如丝般顺滑~
https://visualstudio.microsoft.com/services/visual-studio-online/
-
VSCode doesn't show new line on comments like Cargo doc does
2021-01-12 05:56:44<p>But in VSCode its all on 1 line: <img alt="image" src="https://img-blog.csdnimg.cn/img_convert/57215c06776efd291a1a83ca614a1436.png" /></p> <p>Can this plugin change that? Or have i posted this ... -
vscode 拉取git_微软 Visual Studio Online 正式发布:Web 版 VS Code + 云开发环境!
2020-12-14 07:14:06近日微软在 Ignite 2019 大会上,公开预览版的 Visual Studio Online 终于正式上线了。其实早就在今年 5 月份,微软在 Build 2019 开发者大会上宣布了 Web 版本的 VS Code,即 Visual Studio Online。在当时是 ...近日微软在 Ignite 2019 大会上,公开预览版的 Visual Studio Online 终于正式上线了。
其实早就在今年 5 月份,微软在 Build 2019 开发者大会上宣布了 Web 版本的 VS Code,即 Visual Studio Online。在当时是 Private Preview 版本,仅允许开发者申请试用。
在网页上打开一看,其实看上去可能跟 VS Code 没有什么太大区别,就是一个Web版的VS Code。但是呢,虽然仅仅只是一个网页浏览器上的编辑器,它又可以支持如下功能:
支持Git存储库。
云支持,环境可运行许多专用云资源,因此可同时处理多个项目,而无需担心降低本地计算机的速度。
可以引入自己的内容,连接开发者的专属自承载环境,利用现有基础结构的同时享受 Visual Studio Online 带来的一些好处,无需付出任何代价。
支持任何语言,开发者可以使用所选的编程语言和框架,例如 Node.js、Python 与 .NET Core 等。
扩展支持,可以从 Visual Studio Marketplace 向开发环境中添加扩展,以添加其它功能、调试程序并连接到其它服务。
而且据官方介绍,无论开发者在处理长期项目、短生存期的功能分支,还是希望快速查看拉取请求,都可以借助 VS Online,使用配置完整的开发环境快速高效地完成任务。通过指向 Git 存储库,VS Online 会为开发者设置所有所需内容,使开发者能够专注于提高编码、运行、调试、Linter 与扩展等的效率。
另外,VS Online 还支持个性化的设置,比如:
可漫游设置、主题、Git 标识与配置文件,因此无论使用何种设备,开发者都具有个性化的体验。
VS Online 环境内置有 Live Share 和 IntelliCode,可以实时协作处理项目并基于来自成千上万个开源项目的最佳做法,提供基于 AI 的代码建议。(这一点是不是很牛逼)
说白了,其实这款基于网页浏览器的开发编辑器,最大的特点和亮点就是:由云服务支撑的开发环境。
体验地址:https://visualstudio.microsoft.com/zh-hans/services/visual-studio-online/
来源:非著名程序员(公众号)
原文:https://url.cn/5UlWCND
题图:来自谷歌图片搜索
版权:本文版权归原作者所有
投稿:欢迎投稿,邮箱: editor@hi-linux.com
你可能还喜欢
点击下方图片即可阅读
再见 XShell 和 ITerm 2,是时候拥抱全平台高颜值终端工具 Hyper 了!
-
vscode調試docker go_Visual Studio Online 更新!更好的Docker、Python、Go支持
2020-11-25 08:33:25在 2019 年 11月,公开预览版的 Visual Studio Online 正式上线。时隔多月,微软又发布了 Visual Studio Online 的最新更新,从增强的环境配置和自定义 Dockerfile 支持、到启用对环境的设置更改等方面,一应俱全。...在 2019 年 11月,公开预览版的 Visual Studio Online 正式上线。时隔多月,微软又发布了 Visual Studio Online 的最新更新,从增强的环境配置和自定义 Dockerfile 支持、到启用对环境的设置更改等方面,一应俱全。
为了更好地控制环境设置并提高可重复性,该团队启用了对 Docker 镜像和 Dockerfile 的支持,并通过新的 progress screen 提供了对环境创建的更多见解。用户还可以指定 GitHub 拉取请求或分支 URL,从而实现快速访问。
利用带有新进度指示器的 Dockerfile 创建环境。 同时,根据用户反馈,开发团队已经扩展了默认环境配置,以包括 PowerShell、Azure CLI、Go 和 C ++ 的本机调试,还有更新的 .NET Core SDK 和改进的 Python 支持。
微软方面还表示,他们在此版本中启用了在创建后更改环境设置的功能。从而允许开发人员从用于编辑代码的标准实例开始,并能够在需要更多功能时升级到高级实例。用户还可以更改 suspension policy,以在环境的整个生命周期内更灵活地进行控制。
用户可以从门户网站更改环境设置,也可以使用 Visual Studio Code 命令面板进行更改:
而针对用户曾经创立了但现在又不再需要的计划,其除了可以转到 Azure 页面进行计划删除外,还可以通过浏览器和 Visual Studio Code 删除计划。
此外,该团队目前已经在浏览器中启用了 Visual Studio Code Insiders,因此用户已可以在浏览器或本地计算机上试用 Visual Studio Code 的最新功能。
文章转载自 OSCHINA 社区 [http://www.oschina.net]
希望未来 Visual Studio Online 和 Visual Studio Code 越来越好!
也欢迎大家参加我的知乎 Live,一起学习 VS Code 的强大,带你快速玩转 VS Code!
-
Most features are basically broken randomly on vscode 1.43
2020-11-29 07:40:55launch sometimes have different behavior from the output built from command line, which bring strange problems like <code>.so</code> file not found when running a asp.net core project on linux, some ... -
vscode markdown link line numbers not working
2020-12-04 11:43:12I found <a href="https://github.com/Microsoft/vscode/issues/8223#issuecomment-266374037">this</a> comment on a vscode issue which had an 'L' before the number and indeed after adding it the ... -
Xdebug not working on Vscode and Drupal 8 (macOS)
2020-11-30 12:04:10After setting up Drupal 8 and ddev, I used the vscode instructions for setting up xdebug but it never breaks on my index.php file.</p> <p><strong>To Reproduce Steps to reproduce the behavior: <ol><li>... -
VScode setup failing on windows
2020-12-04 19:47:34../../bootstrap-configure: line 1: third_party/nlbuild-autotools/repo/scripts/bootstrap-configure: No such file or directory The terminal process terminated with exit code: 127 Terminal will be ... -
Calling Direct Method issue with the auto-generated code on VSCode
2020-12-27 14:37:55ve found that when I am implementing IoT Edge Module by command-line in VSCode, calling Direct Method failed with an auto-generated code as below on VSCode. I had to change the code the other way to ... -
展示latex_LaTeX的下载和使用(on Vscode)
2021-01-09 04:45:501.OverLeaf如果你的网络环境稳定、且能承受OverLeaf注册/登录界面的龟速,你可以尝试这款线上latex编辑器 Overleaf, Online LaTeX Editorwww.overleaf.com这样后面的所有东西你都不用下载了。值得注意的是,它的...1.OverLeaf
如果你的网络环境稳定、且能承受OverLeaf注册/登录界面的龟速,你可以尝试这款线上latex编辑器
Overleaf, Online LaTeX Editorwww.overleaf.com这样后面的所有东西你都不用下载了。值得注意的是,它的默认生成方式是pdfLaTex,需要在菜单中更改成XeLaTex才能支持中文。
overleaf编辑界面 以及,某些页面的加载速度可能会非常慢。
2.Tex Live
本文推荐使用Tex Live。
CTeX已经落后于时代,不予推荐。至于TeX后缀的各种版本的区别,请自行Bing了解。
2.1下载Tex Live
可以在Bing上搜索Tex Live官网下载。
2.1.1windows用户
个人推荐清华镜像站。(注意这个iso文件有3.7G)
请不要在下载页面点击``打开'',请点击``另存为'',并选择一个空间足够的位置。
https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/
2.1.2mac用户
由于本人并没有mac环境,本节余下部分网上复制得来。
TeX Live 在 macOS/OS X 上的名字是 MacTeX,它的官方站点是
MacTeX - TeX Users Grouptug.org你可以在这里下载 MacTeX 的安装器,而后安装 MacTeX。
http://tug.org/cgi-bin/mactex-download/MacTeX.pkgtug.org如果你发现下载速度很慢,可以尝试清华大学和中国科技大学的镜像站。
https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/mac/mactex/MacTeX.pkgmirrors.tuna.tsinghua.edu.cnhttps://mirrors.ustc.edu.cn/CTAN/systems/mac/mactex/MacTeX.pkgmirrors.ustc.edu.cn关于在 Mac 电脑上使用 MacTeX,你可能会希望阅读以下文章:#
为 MacTeX 配置中文支持liam.page在 MacTeX 中使用中文模板liam.page2.2安装Tex Live
以下都是基于Windows系统。
在ios文件上右键 →打开方式 →用Windows文件资源管理器打开下载好的.iso镜像文件,双击打开 instal-tl-windows.bat,一路默认安装(2020版本好像默认设置有所改变,请务必选择添加开始菜单文件夹),等待约一个小时即可完成。
打开下载好的镜像文件 2.3用TeXworks editor写作
打开TeXworks editor,输入
documentclass[UTF8]{ctexart} begin{document} 你好 hello end{document}
把左上角切换到xelatex,点击排版,就完成了
就完成了 剩下的就要你自己去学了,推荐学习资料:
一份其实很短的 LaTeX 入门文档liam.page3 vscode
到上一步已经可以编辑latex文件并生成pdf了,但是我推荐进一步使用vs code,它好看,还好用。
3.1下载安装vs code
在Bing上搜索vs code,点击官网的download,选择适合的版本下载,我选的是user-64位。
然后按照提示默认安装即可。
3.2配置vs code
3.2.1设置中文界面
这一步大佬请自觉跳过
点击左侧extension图标,在搜索框中输入language,下载中文扩展包。
中文扩展 用快捷方式crtl+shift+p调出命令面板,输入configure,点击“配置显示语言”,选择zh-cn。根据提示可能要重新打开vscode,然后就可以使用中文界面了。
3.2.2设置LaTex
点击左侧extension图标,在搜索框中输入latex,安装latex workshop。
安装latex workshop 使用快捷键CTRL+shift+P调出命令面板,输入setting
点击“首选项:打开设置(json)” ,将代码替换为以下内容并保存
{ "files.autoSave": "onFocusChange", "latex-workshop.view.pdf.viewer": "tab", "latex-workshop.view.pdf.hand": true, "latex-workshop.synctex.afterBuild.enabled": true, "latex-workshop.latex.tools": [ { "name": "xelatex", "command": "xelatex", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOCFILE%" ] }, { "name": "latexmk", "command": "latexmk", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "-pdf", "%DOCFILE%" ] }, { "name": "pdflatex", "command": "pdflatex", "args": [ "-synctex=1", "-interaction=nonstopmode", "-file-line-error", "%DOCFILE%" ] }, { "name": "bibtex", "command": "bibtex", "args": [ "%DOCFILE%" ] } ], "latex-workshop.latex.recipes": [ { "name": "XeLaTeX", "tools": [ "xelatex" ] }, { "name": "PDFLaTeX", "tools": [ "pdflatex" ] }, { "name": "latexmk", "tools": [ "latexmk" ] }, { "name": "BibTeX", "tools": [ "bibtex" ] }, { "name": "pdflatex -> bibtex -> pdflatex*2", "tools": [ "pdflatex", "bibtex", "pdflatex", "pdflatex" ] }, { "name": "xelatex -> bibtex -> xelatex*2", "tools": [ "xelatex", "bibtex", "xelatex", "xelatex" ] } ] }
3.3用vscode编写
在vscode中,文件→新建文件→另存为→更改格式latex,即可创建.tex文件。
点击左下角对勾 → Build LaTeX project → Recipe:XeLaTeX → View LaTeX PDF,即可查看生成的pdf文档。
或者,你也可以将已有的LaTeX 文件用vscode打开。
界面展示,比texlive好看很多 4一点提示
通常英文文档Recipe时选择PDFLaTeX,中文排版用XeLaTeX。
vscode界面左侧,tex→``Snippet View''就是符号对照表。
有些数学符号需要用到amssymb这个包。
ctrl+alt+J 正向搜索
ctrl+leftclick 反向搜索
当你排版过程中遇到问题(不是报错)时,尝试Recipe twice。
遇到报错时记得使用搜索引擎。
-
Reverse debugging problems on RSDemo/simple Program on Linux w/ VSCode
2020-11-30 10:22:38m not able to break on the first line and the debugger simply exits like so: <pre><code> node --debug-brk=24509 --nolazy -TTDebug:ttlog -TTBreakFirst testing.js Debugger listening on 127.0.0.1:... -
VSCode plugin reports more errors than command line for same file
2020-12-01 19:43:22<div><p>When I run cspell I always get more errors reported in VSCode than I do on the command-line, whether the command-line includes wildcards or just a single file. The VSCode list is always a ... -
How-to guide write-up provided here: VSCode xdebug drush / command line-based php on Linux
2020-11-30 12:03:46<div><p>I wanted to share what seems to be successful for me in using xdebug with <code>drush</code> and Microsoft Visual Studio Code Text Editor on Ubuntu 20.04 LTS Linux. <p>For this, the xdebug ... -
Error seen when running `eslint` in command line but not in VSCode
2020-11-25 07:56:44<div><p>I use <code>eslint-plugin-flowtype-errors</code> to integrate flow into eslint....<p>Any thoughts on what's wrong here?</p><p>该提问来源于开源项目:microsoft/vscode-eslint</p></div>