Giter VIP home page Giter VIP logo

sublime-config's Introduction

Installation

  1. Verify that Package Control is installed
  2. Make sure that Sublime Text is not running
  3. Clone/Copy this repo over Sublime Text's User Packages folder. Remove any existing contents if starting fresh, otherwise merge as required.
    • Windows -> %AppData%/Roaming/Sublime Text/Packages/User
    • macOS -> ~/Library/Application\ Support/Sublime Text/Packages/User
    • Can also find this location by going into Sublime Text and choosing to Browse Packages. Make sure to close out of Sublime Text after.
    • git clone <repo> .
  4. Verify that this README is at ...Sublime Text/Packages/User/README
  5. Start Sublime Text
  6. Wait for all the packages to finish installing
  7. Restart Sublime Text

LSP Dependencies

LSP features require the various language servers to be installed in order for them to actually work. These are not part of Sublime Text and thus can not be automatically installed like the other plugins.

% npm install -g vue-language-server
% pip install pylsp-rope
% pip install "python-lsp-server[mccabe]"
% pip install "python-lsp-server[pycodestyle]"

Java

Install a version of java and make it available through $JAVA_HOME

macOS

% brew install openjdk@17
% sudo ln -sfn /opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk
% echo 'export JAVA_HOME=$(/usr/libexec/java_home -v 17)' >> ~/.zshenv

Font Ligatures

Ligatures make code look nicer Fira Code is my ligature font of choice at this time, though others do exist.

macOS

% brew tap homebrew/cask-fonts
% brew install font-fira-code

Python

Install pyenv and configure a global python version.

macOS

% brew install pyenv
% pyenv install -l
# Pick a version from the list
% pyenv install <version>
% pyenv global <version>
% echo 'eval "$(pyenv init -)"' >> ~/.zshrc
% echo 'alias brew="env PATH=${PATH//$(pyenv root)/shims:/} brew"' >> ~/.zshrc
# Check that everything installed correctly. Open a new shell and confirm the version
% python --version

~/.config/pycodestyle

[pycodestyle]
ignore = W191,E261,E302,E305,E401
max-line-length = 160

sublime-config's People

Contributors

alextarrell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.