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

Recipe: File-based symbol import/export #239

Merged
merged 12 commits into from
Aug 22, 2024
Merged

Conversation

Lotes
Copy link
Contributor

@Lotes Lotes commented Jun 10, 2024

I added a recipe based on the Hello World example about file-based imports. They are added shortly to the scoping overview page.

I used the "Simpsons" for exporting persons, feel free to suggest some cooler persons.

One might add hints for missing validations or other LSP services, that make this feature more attractive.

Closes #234

@Lotes Lotes requested a review from msujew June 10, 2024 13:51
@Lotes Lotes temporarily deployed to pull-request-preview June 10, 2024 13:52 — with GitHub Actions Inactive
Copy link

github-actions bot commented Jun 10, 2024

PR Preview Action v1.4.6
Preview removed because the pull request was closed.
2024-08-22 12:54 UTC

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Great, I didn't fully review it yet, will get to it later this week. A small request: Can you attach the whole code (similar to here) to the end of the recipe? That would make it easier for people to just copy it in case they made a mistake at a certain part.

hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
@Lotes
Copy link
Contributor Author

Lotes commented Jun 10, 2024

Great, I didn't fully review it yet, will get to it later this week. A small request: Can you attach the whole code (similar to here) to the end of the recipe? That would make it easier for people to just copy it in case they made a mistake at a certain part.

Done :)

@Lotes Lotes temporarily deployed to pull-request-preview June 10, 2024 14:50 — with GitHub Actions Inactive
@Lotes
Copy link
Contributor Author

Lotes commented Jun 11, 2024

Possible things to add:

  • validators for cyclic dependencies, duplicated names
  • LSP services for better autocompletion or auto-import

@Lotes Lotes changed the title File-based symbol import/export Recipe: File-based symbol import/export Jun 20, 2024
hugo/content/docs/recipes/scoping/_index.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
hugo/content/docs/recipes/scoping/file-based.md Outdated Show resolved Hide resolved
@Lotes Lotes temporarily deployed to pull-request-preview August 6, 2024 15:24 — with GitHub Actions Inactive
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks 👍

@msujew msujew merged commit 96bfa0e into main Aug 22, 2024
5 checks passed
@msujew msujew deleted the lotes/file-based-imports branch August 22, 2024 12:54
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.

[Recipe] File based imports
2 participants