Decisions and approaches to integrating spotless (via gradle) into vscode.
I want a list of code changes that I can apply to the text document in vscode, without spotless saving the text file.
| diff --git a/test-fixtures/gradle-project/settings.gradle b/test-fixtures/gradle-project/settings.gradle | |
| index 86c6978..b4996c5 100644 | |
| --- a/test-fixtures/gradle-project/settings.gradle | |
| +++ b/test-fixtures/gradle-project/settings.gradle | |
| @@ -7,4 +7,24 @@ | |
| * in the user manual at https://docs.gradle.org/6.3/userguide/multi_project_builds.html | |
| */ | |
| +pluginManagement { | |
| + repositories { |
| @if "%DEBUG%" == "" @echo off | |
| @rem ########################################################################## | |
| @rem | |
| @rem gradle-tasks-server startup script for Windows | |
| @rem | |
| @rem ########################################################################## | |
| @rem Set local scope for the variables with windows NT shell | |
| if "%OS%"=="Windows_NT" setlocal |
I'm using websockets & protobuf in my vscode extension. I want to replace the message abstractions & inconsistent code with a nicely defined server/client interface using grpc.
After working on some POC code and running the extension for the first time, I was faced with the following error:
Activating extension 'richardwillis.vscode-gradle' failed:
| #!/usr/bin/env sh | |
| # | |
| # Copyright 2015 the original author or authors. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 |
Possible useful resources on understanding Cyrillic script variations (mostly to support Bulgarian).
brew install python
brew install python2
sudo easy_install pip
sudo pip install virtualenv
virtualenv -p python3.7 .| function nvm() { | |
| echo "Lazy loading nvm..." | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
| nvm "$@" | |
| } | |
| function setup-prompt() { | |
| if [ -f "$(brew --prefix)/etc/bash_completion" ]; then | |
| . $(brew --prefix)/etc/bash_completion |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.0</real> |