This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use Column Editing in uVision3.*

Does anyone know how to use column mode for editing source code within uVision3 IDE??? I am used to using Jens where I could insert text in a column format defined by the start and stop of the drag of my cursor. I could then right click and insert defined text on all lines simultaneously starting where my cursor orignated to the end of the highlighted segment area in a column format. Can anyone help with this??? I know how to use the Alt key and mouse to highlight text in a column format, but I can find a way to enter text on multiple lines in a column format. This is very annoying.

Parents Reply Children
  • "Tasking's IDE is CodeWright!!"

    that explains their huge market share.

  • Wow! I am starting to feel bad for even asking my original question. Obviously, there is no column mode feature, and obviously there is no plan to add one. I will just have to develop a work-around by hooking another editor into the uVision IDE to edit code with which I would be better served using the column mode feature that I like so much.

    However, what's up with the bookmarks on the uVision IDE? If I use the "go to next bookmark feature" with bookmarks on multiple files within a project, the button will not take me automatically to the next file. Are there settings for bookmarks somewhere that I don't know that control this feature? How can I use the button to automatically go to the next bookmark placed if that bookmark is located in another file that I have open within my project???

  • "I will just have to develop a work-around by hooking another editor into the uVision IDE to edit code with which I would be better served using the column mode feature that I like so much."

    you don't even need to hook in any external editors (you can but you don't have to): just edit your files in your editor and then switch over to the ide to compile.

  • The IDE detects modified files on disk, so tabbing back to uVision is enough for it to reload changed files in the integrated editor. This is a required feature for an editor to support command-line handling of source code repositories, so most programmers editors do check modified file time stamps.

    About bookmarks - it's quite common that developers wants to jump between bookmarks in a single file. Basically a locality of reference. So it's quite common that editors only jump between bookmarks in the current file without caring about what bookmarks you have in other files.

    The advantage with this concept is that a developer can have a large number of bookmarks and change from working with one module to starting to work with another module and immediately switching the "open" set of bookmarks to jump between.

  • Oh, I see. I understand that concept. I am just used to Jens' at this point, so it's taking some time getting used to uVision and it limitations and capabilities. Eventually, I am sure I'll get a rythm going here. I guess I will have to just remember what files I have placed bookmarks in for a particular problem/resolution I am developing. Either that, or manually look through each file I have open to find the location that joggs my memory.

  • One thing I am missing is a list of all bookmarks, similar to Ctrl-B for breakpoints.

  • "I will just have to develop a work-around by hooking another editor into the uVision IDE to edit code with which I would be better served using the column mode feature that I like so much."

    you don't even need to hook in any external editors (you can but you don't have to): just edit your files in your editor and then switch over to the ide to compile.

    As I described in a post earlier in this thread, the benefit of "hooking" the editor into the uVision IDE when using an external editor is that the IDE can redirect the build results to the editor's build window. That way your editor can parse the errors (click on an error to go to the appropriate statement in the source code).

    -Walt

  • There is a column-mode feature - it just doesn't do all the things you wanted!

    "I am just used to Jens' at this point, so it's taking some time getting used to uVision and it limitations and capabilities"

    That is always true when switching to any new tool of any sort.

    You get the same when switching between different makes of car - sometimes even between different models of the same make!

  • Yes Andrew, I do understand that. I was just giving a sense of where I am coming from. Anyhow, I am aware of the alt+drag feature that allows you to highlight and delete in column format of which I am very thankful for mind you. I do appreciate you letting me know though Andrew.

  • Not just delete - you can also copy, cut, and paste the "columnar" block...

  • ahh yes, I am also aware of those features that exist within column mode. These are all very helpful features. That's one of the reasons I felt there must also be a mode or option for adding text in a column format, but to my surprise there is not. Oh well, I will just edit the files with which I would like to use column mode to get things done more efficiently within Jens' and update the file and go back to uVision.