chapel icon indicating copy to clipboard operation
chapel copied to clipboard

[Feature Request]: Type highlighting for chpl-language-server

Open Iainmon opened this issue 6 months ago • 1 comments

Summary of Feature

Description:

Provide syntax highlighting for record/class/type alias usage in code:

record R {}
proc foo(x: R) {}
// would be
proc foo(x: [[R]]) {}

Here is another example: Given,

record struct { proc foo() {} }
proc type struct.foo() {}
var struc = new struct();
struct.foo();
struc.foo();

there is no highlighting difference between struc and struct. It would be nice if the syntax highlighting could highlight user defined types like struct, similar to how it highlights built in types like string and bytes.

Is this issue currently blocking your progress?

No

Iainmon avatar Aug 06 '24 16:08 Iainmon