WebStorm - several questions
Hi all. I'm trying to use WS for Perl(Mason)+HTML+JS development. After 2 days of extensive usage I have several questions:
1. WS knows what is Perl. That's good. But it doesn't know what is Mason (perl framework). So, when using mason tags I've got such errors (file is attached). So, the question is: can I switch off such error checks?
2. While using CVS plugin I should enter repository password in a terminal a WS was launched from. The only accessible method to our repository is :ext:, so I can't use ~/.cvslogin file. Is there any ways to avoid using of terminal to enter password every time? It's annoying
3. Our project's top-level tree contains several directories. I work with only one of them. How can I "tell" WS to skip the rest of directories for refactoring?
4. Another project's js is based on jQuery. But jQuery is included out of the project's tree. So, all elements like $('#bla') give warning "Unresolved function or method $()". How can I fix this one? I found the answer.
Thanks for attention.
Attachment(s):
WebStorm-js-perl-mason.png
Please sign in to leave a comment.
1. Don't know if it's accurate, but you should try phpstorm also and see if you have any luck.
3. For phpstorm, in settings (ctrl+alt+s), there's a section called "directory" or "directories" (if i remember exactly). In that place you can exclude from your project the directories you don't need. This might also be the case for webstorm, please check.
Ok, I'll try.
This feature is not I'm looking for. It excludes the directory from project view (Alt+1). But I need to have access to another directories. I only want them to be excluded on refactoring.
1. JetBrains products have no any specific Perl support build by our team and there definitely no plans to develop any or provide support for it. If you use any 3rd party plugin - ask for support directly from the author.
2. I'll forward the question the responsible developer.
3. Use "exclude" button in Settings|Directories on respective subfolders. There's no way to limit refactoring scope - as such a limit will be a "breach of contract" to the "refactoring" term.
I haven't installed any third-part plugins, but I have Perl syntax highlighting in .pm files or files I open as Perl file.
I don't ask for perl support. I ask only for removing some kinds of syntax check.
Attachment(s):
ws-perl-code.png
ws-open-as-perl.png
I've tried it, but with no success. It undestands <? tags but not <%.
Yes, Alexey already said that JetBrains products have no specific Perl support. He did mention the possibility of using a plugin, so if I were you, i'd search to see if there's such a plugin for perl support.
Thanks for reply. But, as I said, I don't need perl support. I only want to turn off some kinds of syntax check. For perl I use vim/Eclipse+EPIC. WI is a best IDE for object JS I ever tried.
Perl is *highlighting* only. ANYTHING more requires advanced support and will not be implemented.