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

Scaffold language server #25

Merged
merged 12 commits into from
Mar 25, 2021
Merged

Scaffold language server #25

merged 12 commits into from
Mar 25, 2021

Conversation

natemoo-re
Copy link
Member

@natemoo-re natemoo-re commented Mar 24, 2021

An early pass at the Astro extension, just to get things into main.

There's a way to use this locally but I talked with @FredKSchott about just publishing the extension so y'all don't have to spin up the debugger every time you want to edit a file.

If you're curious, the bulk of the work is being done by astro-language-configuration.json and astro.tmLanguage.json, both of which are referenced here in the extension's package.json.

@natemoo-re natemoo-re force-pushed the chore/scaffold-language-server branch from 1198f08 to 825a3e0 Compare March 25, 2021 15:16
@natemoo-re natemoo-re merged commit 18e7cc5 into main Mar 25, 2021
@natemoo-re natemoo-re deleted the chore/scaffold-language-server branch March 25, 2021 15:38
Copy link
Contributor

@lilnasy lilnasy left a comment

Choose a reason for hiding this comment

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

Looks fantastic to me! I think you'll fit right in.

const end = performance.now();
const span = end - start;

console.log(`✨ Built in ${Math.round(span)}ms!`);
Copy link
Contributor

Choose a reason for hiding this comment

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

Heyy, let's bring this back! I want to see sparkles when my build succeeds.


async function watch() {
await Promise.all([buildClient(), buildServer()]);
console.log('👀 Watching for changes...');
Copy link
Contributor

Choose a reason for hiding this comment

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

Beginning of something great! This PR was the stepping stone of a DX not just smooth, but friendly and welcoming!

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

Successfully merging this pull request may close these issues.

3 participants