



Hi
i'm a new user of Komodo IDE. I'm really satisfied by it, the only lack I found is its SVN integration: if I try to refresh my project status (project imported from file system) I get nothing and I'm unable to commit my recent changes.
That would not be a great problem, but resolving it could fulfill my Komodo experience..
Thanks for your time
Nicola
Ps is there a way to beautify HTML? I found a tip about PHP indenting (a macro interfacing with PHP_Beautifier) but nothing for HTML or other languages..
| Attachment | Size |
|---|---|
| Immagine 3.jpg | 65.52 KB |
| Immagine 4.jpg | 76.16 KB |
| Immagine 5.jpg | 57.92 KB |
SVN Integration
Komodo should be detecting and working correctly with your svn project workspace. Which version of Komodo are you using (the latest is Komodo 4.3.2)? Ensure Komodo's SCC->Subversion preferences are correctly setup (correct svn executable) and that svn is enabled.
You can find any errors by examing the Komodo log files:
http://community.activestate.com/faq/komodo-file-locations#log_files
Code formatting macro
There are a number of posts on the community site for formatting different languages, here is one for html and a few others:
http://community.activestate.com/forum-topic/macro-to-reformat-files
Cheers,
Todd
Hi,
thanks for your extremely fast and gently reply!
Regarding the SVN question, I checked out the log files you told me but no error arised, so I think there must be something different.
I attached some screenshot to make the problem clearer.
The Komodo project system can be somewhat picky about when to enable the Source Code Control menus. It will usually only be enabled if *all* of the items you've selected in the project are under source code control. Some of the menu items (like diff, commit) will only be enabled if *all* of the selected items are modified and the scc action could be performed on them.
Usually the easiest way to update the whole project is to click the "folder" or "project" icons and then use the "Source Control on Contents" menu handler.
Does that help?
Cheers,
Todd
PS: We are planning to make these scc menus work better and provide better scc command handling for the Komodo projects.
the jpegs attached are what I get right clicking on the folder or project icon.. i tried what you explained (i tried to right click on a folder that I am sure it's 100% SVN based, and it lets me commit, but, you understand, this continues to be an extremely annoying bug of this IDE, that's neverthless becoming my favourite one.. ;D)
The SCC menus on the project will not work (it will simply target the correstponding kpf file), you'll need to work from a live folder inside of your project to ensure the menu's operate on the real folder. You can modify the import properties of the project to either move up one directory, or, to disable the project "Live Import" option and then after, right-click on the project and add "New Live Folder".
This should then give you the scc menus you are wanting...
another thing that came out applying what you gently told me before: what happens if I use one of the formatter you wrote before against a file which is a mix of PHP & HTML (as usually happens nowadays? yes, i know, i should try to be as most as possible MVC-compliant... ;D)
For formatting files that contain multiple languages you'll need to do more work. You'll need to first make a selection of what you want to format first and then run the macro on that selection.