DDE Question
Nicholas Kingsley (2769) 31 posts |
Does the DDE come with an IDE, or is one needed to be downloaded ? |
Chris Mahoney (1684) 2165 posts |
The DDE gives you various apps, each with a specific purpose. For example, you get SrcEdit for writing code, ResEd for creating your UI, DDT for debugging. It doesn’t have an integrated environment like, say, Visual Studio. It’s not too bad once you get the hang of it though :) |
Dave Higton (1515) 3526 posts |
Having used Visual Studio for some years, I came to wonder how useful an IDE really is. What I needed most of the time was an editor window. The space taken up by the other panes of the VS window simply detracted from the visible text area. I didn’t need the Output pane until I built something. And that’s exactly what happens with the RISC OS DDE – it’s non-existent until build time. The persistent niggle with the DDE is that, on completion of any build, you have to close either one or two windows, depending on whether there have been any errors or warnings. It would be cute to have a single button or keystroke to close it/them. A tabbed editor window was useful until the tabs would no longer fit in the available width, whereupon it suddenly became a liability. |
Rick Murray (539) 13840 posts |
And using Visual Studio with Visual Basic, let me also add:
|
Chris Mahoney (1684) 2165 posts |
I can’t help but think that that was directed at me! :P
Fortunately it doesn’t do this in C#, but from memory you typically use VB 6 rather than the .Net ones. And that’s fine; VB 6 is still supported by Microsoft! |
Nicholas Kingsley (2769) 31 posts |
Thanks for that! |
Steffen Huber (91) 1953 posts |
A good IDE is a major time saver. Support for refactorings, integrated debugger, code completion, managing everything wrt your favourite VCS, context searching, code analysis plugins, showing compile errors without needing to compile, code navigation, automatic code creation, automatic template creation e.g. for documentation… RISC OS development on RISC OS is firmly stuck in the 80s, when syntax colouring was the only help a developer could get. My recommendation is to use an IDE on a different system and use GCCSDK to cross-compile your stuff, putting the resulting binaries via Moonfish onto the RISC OS platform to run it. Another advantage of this setup: if RISC OS crashes, you can continue developing while rebooting the RISC OS machine. If you want to use the DDE, do the same, just editing the sources via Moonfish and build the software on RISC OS. |
Steve Fryatt (216) 2105 posts |
It does? Visual Studio has a bewildering array of formatting options, meaning that so far I’ve not found a coding style that it can’t be made to autoformat correctly given ten minutes spent configuring it.
It was, indeed, braindead. However, it hasn’t done this for at least ten years, has it?
Again, is this true for current versions? The term you’re thinking of is “events”, I think.
Again, this is how recent (ie. last ten years) versions of Visual Studio work. Different panes can be displayed in different modes, so it’s quite possible to have the build/debug output pane only appear when building or debugging. Drop out of debug and back into edit, and the pane closes.
Given the above-mentioned functionality, that happens for free in Visual Studio, of course.
This. As a regular Visual Studio user, I really miss that integration when developing for RISC OS. That said, I’ve yet to find a useful standalone IDE that works well with the GCCSDK on Linux – any recommendations? |
Steffen Huber (91) 1953 posts |
I use Eclipse with the GNAT plugin, so I cannot use GCCSDK for final compilation, but must use GNAT on RISC OS. Not the optimal setup, but the most productive currently possible. I use Eclipse at work, but for Java development. So it was a natural choice. However, Eclipse for C and C++ is a lot less well integrated with the compiler last time I used it (to develop/compile RPCEmu – even the Mercurial plugin was at its infancies back then). |
Richard Windley (1611) 55 posts |
I feel the need to plug Sourcery I realise it’s not an IDE like Eclipse (I use Eclipse every day), but it’s an attempt to make things a bit easier if you do want to do your development on RISC OS. |
Nicholas Kingsley (2769) 31 posts |
By the way, does the DDE compile faster than GCC? It is extremely slow using an emulator… |
Jeffrey Lee (213) 6048 posts |
Yes, the DDE is faster. |