-
Notifications
You must be signed in to change notification settings - Fork 4
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
Improve README and Other Markdown Files #58
Improve README and Other Markdown Files #58
Conversation
INSTALLATION.md
Outdated
@@ -16,7 +16,7 @@ ext install "Slice" | |||
To build and package the extension, you must have [`vsce`](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#vsce) installed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we just make @vscode/vsce
a dev dependency? Do we need it for the build or just for the packaging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's purely for packaging; after everything has been built, it just zips the files together into a .vsix
package. That's all.
The language server is built to be general purpose.
So, in the future we might support other editors, which would have their own packaging tools.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case it doesn't need this install step. You can just run with npx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! I didn't know that cool.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're going to remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, I forgot to push my changes ._.
README.md
Outdated
- Error detection & reporting | ||
- 'Go to Definition' jumping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two are .slice
only however.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mention that in their sub-section later on:
... and is only available for '.slice' files.
If you prefer it, I can find a way to add it to the main list, but I wanted to keep the bullet points short.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine.
Co-authored-by: Joe George <[email protected]>
README.md
Outdated
- Syntax highlighting | ||
- Syntax validation | ||
- Error detection & reporting | ||
- 'Go to Definition' jumping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just write:
- Go to Definition
No jumping, no quotes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be clearer to explain in this top section that most features only apply to .slice files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you push?
These types are commonly used in applications utilizing Slice. | ||
Defaults to `true`. | ||
|
||
If you do not specify any configuration sets, the extension will default to using the project's root directory for `paths`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use the present everywhere. No 'will'.
The extension defaults to ...
The language server only works with .slice files and ignores any ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the 2nd sentence, but left the 1st sentence as is.
In it, the will
feels necessary, because the sentence is talking about a condition being met in the future:
If you do not specify any configuration sets, the extension will default to ...
For example:
If you write bad code, the compiler will give an error
vs
If you write bad code, the compiler gives an error
.
The 2nd one sounds wrong to me, especially compared to the 1st one.
README.md
Outdated
"addWellKnownTypes": false, | ||
"paths": [ | ||
"path/to/specific/file.slice", | ||
"/absolute/path/to/other/slice/files", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer directory over files for a sample directory name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
README.md
Outdated
Additionally, this extension provides a Slice Language Server, for `.slice` files only. | ||
### Error Detection and Reporting | ||
|
||
Error checking is triggered every time a Slice file is saved or opened, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this line so short?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know, but I put it all on one line.
This PR updates the wording of our main README, in accordance with #45,
and tweaks some minor wording/commands in our other markdown files.
The only point that I didn't address in #45 was mentioning the location of the
settings.json
file.This went unaddressed because it can have multiple locations. There are per-user, per-workspace, and even per-folder variants of this file, so there's no simple way to tell the user where to find it.
A cursory google search should point them in the right direction though, so I'm not too worried about it.