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

Add support for different model in the same workspace #24

Open
johangirod opened this issue Sep 5, 2024 · 0 comments
Open

Add support for different model in the same workspace #24

johangirod opened this issue Sep 5, 2024 · 0 comments
Labels
enhancement New feature or request server

Comments

@johangirod
Copy link
Member

## Existing

The LSP will look for all .publicodes files inside the workspace, and consider that they are part of the same model.

Problem

This assumption doesn't stand in the following cases :

  • Monorepo with several models
  • Workspace with folder of different models opened at the same time

## Solution

Ideally : publicodes models should be delimited by a config file .publicodes.config.ts which contains information for the compiler (extension, files to ignore, strict mode, etc.)

Minimum version : the langage model should use package.json as boundary for model.

@johangirod johangirod added enhancement New feature or request server labels Sep 5, 2024
@EmileRolley EmileRolley moved this to Short term todo in Orga Publicodes Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server
Projects
Status: Short term todo
Development

No branches or pull requests

1 participant