首页 > 其他分享 >3.wsl remote vscode

3.wsl remote vscode

时间:2023-02-08 13:25:25浏览次数:35  
标签:插件 remote vscode VScode wsl 编译 test

安装插件

使用 VScode 安装插件

img

使用子系统编译 C 语言

创建文件夹然后创建 test.c

img

修改终端字体大小

img

在 VScode 中打开终端输入 bash , 并编译 test.c

img

编译命令如下:

 gcc -o test test.c
 
 ./test

标签:插件,remote,vscode,VScode,wsl,编译,test
From: https://www.cnblogs.com/NorthPoet/p/17101371.html

相关文章

  • 0.WSL介绍
    什么是WSLWindowsSubsystemforLinux(简称WSL)是一个在Windows10\11上能够运行原生Linux二进制可执行文件(ELF格式)的兼容层。它是由微软与Canonical公司合作开......
  • 1.wsl安装
    安装步骤第一步:打开控制面板并进入到卸载程序中第二步进入到启用或关闭Windows功能第三步往下翻找到适用于Linux的Windows子系统并勾选上,然后点击确......
  • VSCode 抽取vue的代码片段
    在vscode中文件——>首选项——>用户片段,输入名字按去确定,输入代码片段{"vuehtm":{"scope":"html","prefix":"vuehtml","body":[......
  • git: 移除远程映射,remote origin
    背景在添加远程映射的时候,把远程仓库地址写错了。。。。[email protected]:错的.git解決方法方法一:ChangetheURI(URL)foraremoteGitrepo......
  • Remote License Issue
    错误信息解决方法:1、检查licensemanager中的license信息:PerUserCAL,版本为20192、打开组策略编辑器,路径:ComputerConfiguration\AdministrativeTemplates\Windows......
  • PostgreSQL-14 安装配置-wsl_v1_ubuntu22.04
    环境准备pgAdmin:Cisco2022postgrep数据库:leiwang6:Leiwang6_2023postgres:Postgres_2023installhttps://learn.microsoft.com/en-us/windows/wsl/tutorials/w......
  • vscode vue代码模板
    {"Printtoconsole":{"prefix":"vue","body":["<!--$1-->","<template>","<divclass='$2'>$5</d......
  • vscode代码片段输出两个斜杠\\ Windows 路径
    VScode代码片段中输出\\ ,一般常用于Windows路径,斜杠是转义符,想输出就要两个转义符 双引号版,引号需要转义:代码片段(两个斜杠):"path_str=\"\\\"", 效果:......
  • Windows安装podman报错:Error: the WSL import of guest OS failed: exit status 0xfff
     执行podmanmachineinit报错: Error:theWSLimportofguestOSfailed:exitstatus0xffffffff 更新下wsl服务https://yvioo.lanzouw.com/iOus30mrzpid下......
  • vscode学习(五)之保存时如何修复ESLint错误
    当今Web开发中最著名的两个实用程序是ESLint和Microsoft的VisualStudioCode。我喜欢同时使用这两种工具,但是我喜欢这两种工具之间的集成,但是VisualStudioCode中来自ES......