richterger / Perl-LanguageServer

Language Server for Perl
Other
220 stars 53 forks source link

perl.fileFilter setting doesn't work #121

Closed syberrus closed 2 years ago

syberrus commented 2 years ago

i placed in vscode config the following line: "perl.fileFilter": [".plx", ".pl", ".pm"],

reloaded window in vscode and still files with ".plx" extension are not recognized (unless they have perl shebang line and opened in editor).

ecos-ps commented 2 years ago

Can you please be more specific: What are your expectations regarding this config parameter?

syberrus commented 2 years ago

My expectations are that all those files will be recognized as perl files with syntax highligh and check

richterger commented 2 years ago

That the files will be recognized as perl files, is a vscode setting. To change this, just click on the language name that vscode has detected (in the status bar at the right side). There you can change the language.

The perl.fileFilter setting tell the symbol parser which files should be considered as perl files. This is for for example the goto symbol command.