I have a mixed Javascript+Python project that I'm developing using Webstorm 6. Many times I want to find some string using 'Find in Path' functionality, but it seems to ignore the contents of Python files, finding everything just fine in js and html ones.
Is there a workaround?
Works fine for me. Is .py extension associated with any file type in Settings/File Types? Files with 'unknown' extensions might be skipped on searching. Please see this thread for more info
Related
I want to create a SAS Enterprise Guide project without using SAS EG. Thank you in advance for you answers.
Tried creating a zip file with SAS programs and renaming the .zip extension to .egp, but it does not work.
I'm almost certain that there's some legal issue with reverse engineering it.
That being said - .egp does seem to be an archive.
For the most part,
it contains folders of generated names for each program in the .egp, as well as a folder with a generated name for the built in git repository.
and probably most importantly a .xml file describing the project, It also contains any embedded code.
I don't have time to go through it, but if you have Enterprise Guide licensed and just don't have access to it, perhaps ask a colleague to send an example project.
If instead of creating a *.zip file, you create a *.txt file.
Changing it's extension to *.sas will create a SAS program.
I am using CPPCheck with the visual studio plugin. In the settings menu for it there is a an option 'Edit Global Suppressions'. What I would like to do is use the option 'File excluded from check (C# regex)' to stop cppcheck from looking through a large single-file header-only test framework file I am using called Catch. When I run 'check current project with cppcheck' I have to wade through a large number of messages from code I didn't write, nor am interested in fixing.
I am not good with regex but I have tried a lot of combinations to get it to ignore this file without success. Is there an obvious regex statement I haven't come across or is this feature not working. I didn't see an issue in the VS plugin repo so I'm willing to bet its just me.
P.S. The file is stored in the usual place for a visual studio C++ project:
D:\Libraries\Documents\Visual Studio 2015\Projects\ReliableControls\ReliableControls\catch.hpp.
Here is a short list of entries I've tried... that I can remember. (ReliableControls is the name of the project).
^ReliableControls\catch.hpp$
^ReliableControls\catch\.hpp$
^catch.hpp$
^catch\.hpp$
EDIT
Here is the list of the defaults in the exclude file window. I've tried following similar patterns.
^moc_.*\.cpp$
^qrc_.*\.cpp$
^ui_.*\.h$
Is it possible to get code completion working in Sublime Text 3 for C++? I tried the CTags plugin and I don't like that fact that it creates tag database in all directories. I work on a project that has a shared codebase and consists of a large number of sub-directories containing source files.
https://forum.sublimetext.com/t/sublime-text-3-sublimeclang-cygwin-mingw-64bit/16253
I just documented my config for c++ code completion. Hope this helps.
I have some .cshtml templates I'm using to render to PDFs.
When I deploy to production they get precompiled and contain the text "This is a marker file generated by the precompilation tool, and should not be deleted!" Is there a way to tell ASP.NET not to precompile a particular subfolder? I thought maybe I could do this in web.config, but I can't find it.
I know this is 2 years old but recently I stumbled on the same problem, but since I needed the view for both MVC and e-mail I couldn't simply change the extension of the file.
Searching for solutions I found this documentation on aspnet_compiler and the -u options, that stands for Updatable, which keeps the original file intact after compilation.
In order to achieve the desired behavior I configured my publish profile as follow:
On Settings tab of Publish dialog expand the File Publish Options and check Precompile during publishing.
Click the Configure link after the checkbox and check Allow precompiled site to be updatable
Caution
Before jumping in this solution you should read carefully about the implications of this option. In the link I provided there is a Precompilation Decision Matrix to help on your decision.
I couldn't stop the views from being compiled, even by setting the build action to 'none' and turning on copy to output directory.
I ended up changing the extensions of my files to .prod, setting the content type as 'content', and setting them to open with the HTML editor in Visual Studio to get everything working the way I wanted.
I was trying to set up the Eclipse on a new computer, and thought I might as well try Juno instead of Indigo as I was using before.
However, attempting to import my PyDev/Django files was troublesome, and I ended up creating a new Django project and copying my source files in.
However, when I hit Refresh, Eclipse deletes a bunch of files including urls.py!
I've given up for now - back to Notepad++ - but does anyone have any ideas as to what might be causing this?
I must say that'd be the first time I heard that PyDev was deleting .py files... (it does have an option to remove orphaned .pyc files which you can disable on window > preferences > pydev > builders > how to handle .pyc/$py.class deletion).
Are you sure that it's really deleting those files in the filesystem? Can you reproduce that? (if so, please provide the steps to do so, because I've tried many things here and haven't been able to duplicate that behavior). It'd be nice if you check if it really removes the files in the filesystem (i.e.: it's possible that for some reason it's only filtering those in the PyDev package explorer?)
I just lost 3 hours of work using pydev and eclipse, without using django. So this is not django specific.