• wenbao与vscode


    linux安装

    创立临时文件夹
    mkdir /tmp/vscode; cd /tmp/vscode/


    下载压缩包
    wget https://az764295.vo.msecnd.net/public/0.3.0/VSCode-linux-x64.zip
    解压
    unar VSCode-linux-x64.zip

    cp VSCode-linux-x64 /opt/

    sudo chmod +x /opt/VSCode-linux-x64/Code


    创建软链接
    ln -s /opt/VSCode-linux-x64/Code /usr/local/bin/code

    code a.cpp //试运行


    创建桌面启动

    cp /opt/VSCode-linux-x64/resources/app/vso.png /usr/share/icons/


    gedit /tmp/vscode/visualstudiocode.desktop
    1 [Desktop Entry]
    2 Name=Visual Studio Code
    3 Comment=Multi-platform code editor for Linux
    4 Exec=/opt/VSCode-linux-x64/Code
    5 Icon=/usr/share/icons/vso.png
    6 Type=Application
    7 StartupNotify=true
    8 Categories=TextEditor;Development;Utility;
    9 MimeType=text/plain;

    cp /tmp/vscode/visualstudiocode.desktop /usr/share/applications/

     

    astyle

    apt-get install astyle

    "astyle.cmd_options": [
             "--style=google",
             "--indent-switches",
             "--indent-preprocessor",
             "--break-blocks",
             "--delete-empty-lines",
             "--pad-oper"
         ]

    phpformatter

    下载phar

    安装phpformatter插件

    用户配置 

    //phpformatter
    "php.validate.executablePath": "D:/xampp/php/php.exe",
    "workbench.panel.location": "bottom",
    "phpformatter.pharPath": "D:/xampp/php/php-cs-fixer-v2.phar",
    "phpformatter.logging": true,
    "phpformatter.phpPath": "D:/xampp/php/php.exe",
    "phpformatter.arguments": [
    "--rules=@Symfony"
    ]
     
     
    keybindings.json
     
    {
    "key": "alt+shift+f",
    "command": "phpformatter.fix",
    "when": "editorFocus"
    }
     
    参考:
    https://www.cnblogs.com/huangtailang/p/6604124.html

    只有不断学习才能进步!

  • 相关阅读:
    自定义滚动条原理
    多个轮播图或者选项卡显示在一个页面是,使用代码重用
    浮动与清除
    cni 添加网络 流程分析
    《MapReduce: Simplified Data Processing on Large Cluster 》翻译
    OpenStack overview 笔记
    docker containerd shim分析
    docker containerd 中的create 容器操作
    MIT jos 6.828 Fall 2014 训练记录(lab 6)
    docker containerd中的容器操作
  • 原文地址:https://www.cnblogs.com/wenbao/p/7801263.html
Copyright © 2020-2023  润新知