mmllski / language-epics

MIT License
3 stars 3 forks source link

DTYP field #2

Open ghost opened 8 years ago

ghost commented 8 years ago

Hi guys, first bit of feed back. The package installs and works pretty well :-)

Could we have a DTYP field added, for example typing "bi stream" creates:

record(bi, "record_name") { field(DTYP, "stream") field(DESC, "description") field(VAL, "value") field(ONAM, "one_name") field(ZNAM, "zero_name") }

dmichel76 commented 8 years ago

There is a snippet for DTYP field already... just type 'dtyp+tab' :-)

The problem with having a 'bi stream' or 'ai stream', etc. is that we would have duplicate lots and lots o snippet just to add the DTYP field, significantly increasing the number of snippets available.

So right now, you can type 'bi+tab' to get the basic bi record and then manually add a line and type 'dtyp+tab' to get that particular field.