I used to use IntelliJ IDEA as my development environment and I have recently started to use MyEclipse.
In IntelliJ, pressing the F11 key toggles a bookmark. IntelliJ creates a tic or a correct mark to the left side of the editor and a black icon in right side of editor to indicate that the line is bookmarked.
Pressing SHIFT F11 then presents a list of your bookmarks enabling another means of navigating around the codebase.
Does MyEclipse have similar functionality and if it does how do I use it?
The following blog entry discusses Bookmark functionality in Eclipse not MyEclipse.
It includes the alternative strategy of adding a // TODO comment to the code which will place that in the the Tasks view but in a collaborative project I would think it better to leave TODO comments for tasks arising out of incurred technical debt and future code re-factoring.
http://www.luisdelarosa.com/2005/02/16/eclipse-tip-use-bookmarks-to-track-important-places-in-your-code/
Related
I am just starting out learning iOS development as a hobby in my spare time - so please be patient if this question seems dumb.
But how do I edit the UI without using the xcode graphical user interface? Is there some like underlying XML definition like Android has in android studio?
The reason I ask is if I ever need to change 1 dimension, it means I would have to manually go to every single storyboard element, and change it by hand as opposed to editing them efficiently from some main config file like dimens.xml
If you select your storyboard in Xcode, right click, and choose Open As -> Source Code, you will see the XML.
It's not simple to work with in that form (in my opinion), but it's available.
Does anyone know of an Ace editor API that enables adding or removing breakpoints by clicking the gutter in the editor window? I spent more time than I care to admit looking for this functionality in the API reference, source code, forums, blogs, etc. and the best information I found so far is this answer from May 2012. It's a good starting point, but the breakpoints don't move when new lines are inserted in the code above them. I find it hard to believe that Ace doesn't include this in the standard feature set by now, as it's something we've come to expect in any decent code editor and the Cloud9 environment supports it.
There is no API provided by Ace for this. Here's the implementation used by Cloud9 https://github.com/c9/c9.ide.run.debug/blob/master/breakpoints.js#L727.
Most likely it is kept in Cloud9 plugin instead of Ace because it depends on the format in which breakpoints are stored, which might be different for different ides.
I'm looking for the tool for accessibility check (the system I'm working on should comply with WCAG2AA).
At the moment we use a code sniffer from squiz labs, which we manually run against our pages.
I would like to take it a step further and have it as a part of TFS gated checkin.
I'm aware this is not as trivial (we use ASP.NET MVC) and will require a browser engine to generate html as part of the same process. There also might be situations when a suppression would have to be added, etc.
Would be grateful if someone could point me in the right direction or maybe there is already a tool (in that case probably combination of tools), which I'm not aware of.
Accessibility checks can't be entirely made by automatic tools (it needs a human to decide if these headings make sense in a page for example), but it's still a great help for half of the tests you've to run.
I'm aware of:
Tanaguru, an open source solution that you can install (Java Tomcat thing) or run as a service. It'll check against your source code (before any DOM modification) many tests from Accessiweb reference list, an understandable (pun intended) implementation of WCAG2.0. The silver level is equivalent to AA level of conformance.
For Tanaguru service, you can provide a test login and password if your server is private and for the standalone code, being open source you can add it to your development process the way you want.
You can test Tanaguru here: http://my.tanaguru.com/?lang=en
WAVE Toolbar will run against code in your browser. This is a Firefox extension, beware that http://wave.webaim.org/ will check HTML code sent from server, not in the browser (the difference is about JS modifying the DOM)
Opquast is both a checklist about quality (accessibility and many other things unrelated, check it at least once it's worth it ;) and a paid service: Opquast reporting. You can run your pages against the Opquast checklist or Accessibility first steps and second steps (this is not WCAG 2.0, it's about the errors that are so obvious you should have repaired before going further with accessibility improvements).
Opquast reporting will export results as PDF, DOC/ODT as well as CSV so you can use it with your own automated test environment.
EDIT 2014: Opquast Desktop is a Firefox extension that'll test pages in your browser (there were a few quirks with Win8, be patient if it's still the case and they aren't on AMO because Mozilla will change their requirements overnight... but knowing personnally and having worked for the awesome team that is behind Opquast, I trust them)
Tenon.io by K. Groves is a new service I barely tested till now, but it's worth checking it
Related article: http://webaim.org/articles/freetools/ (quite old if it doesn't speak of WCAG 2.0, but formats and such are still an interesting read)
I have to stay away from my MacBook and will use Windows for a while. I missed Textmate's folder view when editing my rails projects. Is there an editor on Windows with the folder view? I know there is the E text editor. But I'll save a few bucks if there is a free (cheaper) alternative, as I won't stay in Windows for long ...
Go with gVim, and when editing a file you can type :edit. to pull up the working directory, and navigate from there. Also you get geek cred for rolling VI!
Have a look at Komodo Edit. Some people are already using it for Rails development.
Netbeans is full scale open-source ruby/rails-editor with a folder-view.
Programmer's Notepad is a very lightweigt open source text-editor, it has a "project"-view (but you have to define the project yourself).
The Zeus Lite programmer's editor has a folders view (i.e. View, Navigator menu) feature and it is also free.
Best one I just found.. "programmers notepad".. It's got different coloring for different languages. (though i always turn that off) and it allows you to map keys..
It also has a hand tree view where you can have "magic folders" that show all the files in a given folder. It is very sleek..
One irk.. to make it so you can have two projects open at the same time, you need to go to options and set the exe to allow multiple instances... I'd have rather seen that as default, but it's easy to fix.
Oh and it's free.
Not that you asked, but bluefish seems to be quite good on linux. Has a similar feel. It's a fast little editor.
emacs has speedbar, diredit mode, other option.
This is speedbar:
For a school project i need to write or use a online programming editor. It is a part of a bigger project. I thought of a java application, php/html/javascript or flash.
I have a couple of things i could do:
Find a good working application and edit it so it works with the rest of the project
Find good parts for a editor and make it working my self (syntax highlighter, auto-indent, autocompletion, etc.)
Combination of those two
Does anybody know a good editor or have tips for this project or a editor?
Thanks for reading,
Leon
For the syntax highlighting and basic editing part, check out my recent question Textarea that can do syntax highlighting on the fly?
Solutions presented there:
CodeMirror
Bespin (Mozilla only, but great)
For the rest - autocompletion etc. - ... Check out the Wikipedia article Comparison of JavaScript-based source code editors
Interested to see what other suggestions come up.
Bespin comes to mind. Though it might be too bleeding edge, depending on how the rest of the project is built/meant to be used (but hey, programmers love bleeding edge).
If you decide to use PHP/HTML/CSS/JavaScript, see GeSHi for syntax highlighting.
I have a side project developed with ACE.
It connects to your server through SFTP and allows you to create new files,read and edit all from your browser with your file tree at sidebar.
Demo at TePe
Code at Github Repo
I found Cobalah Editor it's also built on CodeMirror but with some customization. There are some themes available we can set, increase or decrease font size.