Moving app configs to separate file for ease of use.

This commit is contained in:
Bradley Shellnut 2021-02-24 17:37:09 -08:00
parent bdb815fe06
commit 4419338c64
4 changed files with 61 additions and 4 deletions

View file

@ -20,9 +20,15 @@ List of instructions, resources, steps for setting up a new computer
### Apps
#### [Configs](../master/environment/Coding-App-Configs.md)
- [HyperJS](../master/environment/Coding-App-Configs.md#coding-app-configs##hyperjs)
- [Sublime Text](../master/environment/Coding-App-Configs.md#coding-app-configs##sublime-text)
- [VSCode](../master/environment/Coding-App-Configs.md#coding-app-configs##vscode)
#### [Linux](../master/linux/Coding-App-Setup.md)
- [Sublime Text 3](../master/linux/Coding-App-Setup.md#coding-applications##sublime-text-3)
- [Sublime Text](../master/linux/Coding-App-Setup.md#coding-applications##sublime-text)
- [VSCode](../master/linux/Coding-App-Setup.md#coding-applications##vscode)
#### [OSX](../master/osx/Coding-App-Setup.md)
@ -33,6 +39,7 @@ List of instructions, resources, steps for setting up a new computer
### [Terminal](../master/environment/Terminal.md)
- [HyperJS](../master/environment/Terminal.md#terminal##hyperjs)
- [Vim](../master/environment/Terminal.md#terminal##vim)
- [Zsh](../master/environment/Terminal.md#terminal##zsh)
- [Bash](../master/environment/Terminal.md#terminal##bash)

View file

@ -1,5 +1,51 @@
# Coding App Configs
## Hyper.js
## HyperJS
## iTerm2
## [Configuration](https://github.com/BradNut/dotfiles/blob/master/.hyper.js)
## Sublime Text
### [Configuration](https://github.com/BradNut/dotfiles/blob/master/Preferences.sublime-settings)
### [Packages](https://github.com/BradNut/dotfiles/blob/master/sublime-text-extensions-i-use.md)
## VSCode
- Configuration: [settings.js](https://github.com/BradNut/dotfiles/blob/master/settings.json)
- Packages: https://github.com/BradNut/dotfiles/blob/master/vs-code-extensions-i-use.md
- Install Shell Command: Install code command in PATH
### Troubleshooting
#### Docs: https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
#### Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)
_Follow these steps located [here](https://askubuntu.com/questions/776929/how-to-edit-my-etc-sysctl-conf-file)_
Steps:
1. You can add this line using nano or vim from terminal (ctrl+alt+t): `sudo nano /etc/sysctl.conf` or `sudo vim /etc/sysctl.conf`
- Where you then scroll down and add the line by hand then press ctrl+x to end editing. You will be asked if you want to save, confirm that by pressing y and then once return to save.
- _Same way you can reverse your changes._
2. You can add it as well this way: `echo "net.ipv4.icmp_echo_ignore_all=1" | sudo tee -a /etc/sysctl.conf`
- For reversing this refer to solution 1.
---
Info from VSCode docs:
When you see this notification, it indicates that the VS Code file watcher is running out of handles because the workspace is large and contains many files. The current limit can be viewed by running:
`cat /proc/sys/fs/inotify/max_user_watches`
The limit can be increased to its maximum by editing /etc/sysctl.conf (except on Arch Linux, read below) and adding this line to the end of the file:
`fs.inotify.max_user_watches=524288`
The new value can then be loaded in by running sudo sysctl -p.
While 524,288 is the maximum number of files that can be watched, if you're in an environment that is particularly memory constrained, you may wish to lower the number. Each file watch takes up 1080 bytes, so assuming that all 524,288 watches are consumed, that results in an upper bound of around 540 MiB.

View file

@ -1,5 +1,9 @@
# Terminal
## HyperJS
### [Configuration](https://github.com/BradNut/dotfiles/blob/master/.hyper.js)
## Vim
- Configuration: [.vimrc](https://github.com/BradNut/dotfiles/blob/master/.vimrc)

View file

@ -1,6 +1,6 @@
# Coding Applications
## Sublime Text 3
## Sublime Text
- [Install](https://flathub.org/apps/details/com.sublimetext.three): `flatpak install flathub com.sublimetext.three`
- [Configuration](https://github.com/BradNut/dotfiles/blob/master/Preferences.sublime-settings)