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

trying to build a configuration for a simple template lanuage #16

Open
lessrand opened this issue Mar 15, 2019 · 1 comment
Open

trying to build a configuration for a simple template lanuage #16

lessrand opened this issue Mar 15, 2019 · 1 comment

Comments

@lessrand
Copy link

No description provided.

@lessrand
Copy link
Author

Hello,

i am trying to create a language definition dor files extended with .tpl.

therefore i created tpl.liclipse, added a few keywords and opened an example file with the liclipse editor.

either it does not recognize the filetype or i am doing something wrong - but nothing shows up in eclipse (2018-12)

here is my tpl.liclipse definition:

scope: # Here we'll specify sub-partition for top-level scopes

  default: # We're defining things internal to the default scope (in this example we could also define things in the multiLineComment scope).

    #keyword must be a color at this point already (not a scope)
    keyword: [TYPE,init,GUITYPE,CLASS] # Define that we want to consider 'class' and 'pass' as a keyword, colored with the 'keyword' color.

file_extensions: [tpl]

filename: []

name: TPL


- name: 'init'
  description: "The init element represents a init value."
  pattern: '[init:${cursor}]'
  icon: tag
  scope: default

what should i do to get a simple new tpl running?

kind regards

Randolph

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

No branches or pull requests

1 participant