Skip to content

formatting.md: Fix imports#277

Merged
msujew merged 2 commits into
eclipse-langium:mainfrom
borisbrodski:patch-1
May 22, 2025
Merged

formatting.md: Fix imports#277
msujew merged 2 commits into
eclipse-langium:mainfrom
borisbrodski:patch-1

Conversation

@borisbrodski

Copy link
Copy Markdown
Contributor

The import statement in the example code was not working.

I changed it from

import { AbstractFormatter, AstNode, Formatting } from 'langium';

to

import { AstNode } from 'langium';
import { AbstractFormatter, Formatting } from 'langium/lsp';

@msujew msujew left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@msujew msujew merged commit d0af3e1 into eclipse-langium:main May 22, 2025
@borisbrodski borisbrodski deleted the patch-1 branch May 22, 2025 07:38
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.

2 participants