-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
For example, after adding "qwe" at the beginning of a DSL script, building the project will result with 2 errors in Error List tab in Visual Studio:
- IntelliSense error:
Severity Code Description Project Path File Line Column Category Source Tool
Error RH0004 Unrecognized concept keyword 'qwe'. c:\My Projects\RhetosPackages\Bookstore\src\Bookstore.Service\DslScripts c:\My Projects\RhetosPackages\Bookstore\src\Bookstore.Service\DslScripts\BookInfo.rhe 1 1 IntelliSense
- Build error:
Severity Code Description Project Path File Line Column Category Source Tool
Error RH0004 Unrecognized concept keyword 'qwe'. Bookstore.Service C:\My Projects\RhetosPackages\Bookstore\src\Bookstore.Service\DslScripts C:\My Projects\RhetosPackages\Bookstore\src\Bookstore.Service\DslScripts\BookInfo.rhe 1 1 Build Exec
It seems that Visual Studio automatically detects when Build error and IntelliSense error are identical to avoid showing duplicate errors, but in Rhetos DSL some errors are duplicated in errors list in Visual Studio.
Perhaps the errors are not merged into a single error because some of the differences:
- Rhetos Language Server (DSL IntelliSense) returns Path lowercase drive letter, while build returns with uppercase.
- RLS error does not have Project set, while build error has Project set correctly.
- The Code has different metadata associated (Diagnostic.CodeDescription.Href).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels