Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vscode support #43

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Vscode support #43

wants to merge 6 commits into from

Conversation

alessandro-fazzi
Copy link
Member

Adds support to vscode workflow

New development gems

It's up to the developer to install aforementioned plugins into his IDE. Adding a small paragraph to the README about this fact.

VSCode debugger configurations

We'll have a default .vscode/launch.json to have control over the integrated debugger by default. I've added a custom RSpec - Single spec config useful for running a single block of specs based on curson position into the editor.

@alessandro-fazzi alessandro-fazzi marked this pull request as ready for review September 26, 2020 11:03
I've moved comments into a key; comments in JSON are
not valid and I prefer to be "strict" about it, even
if I think VSCode will strip out comments before to
parse file content. :)
Copy link

@danielegiorgis danielegiorgis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Non sono supportati a patto di fare come hai fatto tu 👍
Domanda.

Potrebbe essere utile in questo file aggiungere anche

"[ruby]": {
"editor.tabSize": 2
}

Di modo da civilizzare possibili differenze di tabsize?

@alessandro-fazzi
Copy link
Member Author

Solitamente in giro per il mondo questo genere di configurazioni si demandano ad EditorConfig. Potrebbe anche starci di decidere di forzarle per VSCode con le sue specifiche impostazioni, ma è una preferenza che deciderei collettivamente (banalmente non so nemmeno in quanti usino ancora altri editor).
Però vorrei che altre idee di aggiunte fossero altre PR e che qui ci attenessimo a revisionare la proposta fatta. Se mergiassimo questa poi fare PR successive sulle configurazioni sarebbe solo questione di modificare il JSON.

Potrebbe essere utile in questo file aggiungere anche

"[ruby]": {
"editor.tabSize": 2
}

Di modo da civilizzare possibili differenze di tabsize?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants