How to make regular lines jump like connectors - visio

Exactly like the title says, how can I make a regular line behave like a connector and jump over other connectors?

The question is old, but I just had the same problem with Visio (App on Windows 10). In my case, y4cine's answer did not work because I was missing an option in the page setup. So you need to:
Use the connectors.
Set the line jump style.
To set the line jump, simply:
Access the page setup by right-clicking your page tab.
Go to Layout and Routing.
Line jumps.
Line jump style: Arc
This is the option that I was missing.
See also: https://support.microsoft.com/en-us/office/add-or-remove-connector-line-jumps-1a5516db-0212-4352-90dd-fc9cfd4018ed

Use a connector and set its appearance to straight. (right mouse click)

Related

Setting a forms default screen position to desktop center in Delphi XE5

I have recently upgraded from Delphi7 to Delphi XE5 and one of the differences that first jumped out at me is that by default, the IDE sets a forms default position to be in the top left corner of the screen instead of the center of the desktop like it was in D7 and I have looked all around in the options menu and have yet to find a way to set it so that when a new project is created, all forms default to be positioned in the center of the desktop and was hoping I was overlooked the option to do this or to confirm if it was not possible to set this option to be default.
I know there is the little box at the bottom right hand side of the form designer pane which allows you to move the form around so it is placed anywhere on the screen and of course you can set it to be in the center of the screen using the object inspector, but if I could set it to default to this position by "setting and forgetting" an option in the IDE, than that would be one less thing I need to bother with when starting a new project.
Anyway, any help would be appreciated and thanks in advance for any and all replies.
I figured it out myself in a roundabout way. It does not answer the question to the exact specifications that it was asked in but it works out close enough for my needs. The trick was to set the (now hidden) "Embedded Menu Designer" option to FALSE in the registry which causes the form to float independent of the rest of the IDE like it used to in Delphi 7.
Why this option was hidden from the options panel in Delphi XE3 and above is beyond me, but at least there is a way to get it back to the classic look I was after.
Source: http://theroadtodelphi.wordpress.com/2012/09/04/disabling-the-embedded-designer-in-rad-studio-xe3/
Note: The article talks about XE3, but the same technique applies to other Delphi versions as well. All that needs to be changed is the version number in the registry branch needs to match the version of Delphi that is being using. Everything else remains the same.
Isn't poDesktopCenter (TForm.Position property) enough? You set it in design time and forget about this.
I don't know what will happen if you have 1500x1200 form and the screen resolition is 800x600 - try it youself :)

SQLDeveloper jump between Package body and Package spec

I'm currently using Oracle SQLDeveloper a lot more that I have ever used and I'm starting to like the tool.
I use Shift+F4 a lot to jump into a package/function/procedure. But one thing that I don't really get is how to jump directly to the package body or as an alternative some kind of shortcut that toggles between the spec and the body of a package.
Toad has something like this and I'm unable to find this feature in SQLDeveloper.
I'm also aware that you have the object tree on the left side of the screen but it's not really the best way to navigate to a package body when you are already looking at its specification. Especially if you have something like 300 packages with similar names...
For someone that uses SQLDeveloper to work everyday and does a lot of development with packages there has to be a way to do this...
I'm hoping for some magical shortcut or some obscure plugin.
see the picture above-- the downward pointing side arrow -- click on it-- it will open up the function defintion.
thanks
After opening the package spec using Shift+F4, press Ctrl+Shift+F12 to open or toggle between body and spec
Go to VIEW menu, click on find DB objects option. In the find db object pane put the name of the package and select the DB.
Both, the spec and body will appear, double click to open.
You have a couple of questions:
how to 'jump into' a pl/sql object AND
how to toggle from spec to body and vice versa
How to 'jump into' a pl/sql object
Ctrl+Mouse Hover+Click
If you don't like this mouse-kung-fu, you can also assign a keyboard shortcut, I show you how to do this here.
How to toggle from spec to body and back
You can use the arrows in the gutter, they point up or down, you can use the toolbar button, or you can use the keyboard shortcut.
If you use the 'arrow' in the gutter, you'll go straight to that item's corresponding bit in the spec or body. Using the toolbar button/kb shortcut will just take you to line 1 of the spec or body.
I talk about these PL/SQL features and more on my blog.
(this is at least with my PLSQL-DEv version (11.0.4.1774), default settings)
The shortcut to view Spec. + Body is SHIFT+ F5, then CTRL+ H to toggle to the "body" tab.
This works if you have certain rights to view the package's body, especially the DEBUG right: ask your DBA to do you a
GRANT DEBUG on <package_you_want_to_view_the_body_of> to <your_user>
or
GRANT DEBUG on <package_you_want_to_view_the_body_of> to PUBLIC
Note sure but you might also need the EXECUTE right just to view. Same thing if needed, ask your DBA similar above grant.
nb:
Another thing I had to do in Oracle 12c for Code assistant to view the packages when typing: check the "Use DBA Views if available" in Tools > preferences:

xcode 5: What's the best way to go back and forth between top of editor and where you were before?

So I've had this question for a really long time. Say:
You're working on line 1000 in the primary editor of xcode,
Then you realize you need to use class ABC but it's not imported. You go to the top of editor and write a line such as import "abc.h"
Then you want to go back to line 1000 and continue your work.
For now I've always need to use my scroll bar to scroll back and forth between line 1 and line 1000, which can easily get me lost. I know that in Eclipse+FDT you can do auto import (ctrl+1 to auto import a class), is there similar feature for xcode? If not, what's the best solution? Thanks in advance.
You can jump between line numbers by typing command + l.
You can navigate to the top of the editor by pressing command-upArrow.
Then to "go back" to line 1000 (where you were), you can press control-command-leftArrow.
Edit: Looks like Xcode does have a "Jump to Line" feature I was unaware of, as per Jonah's answer. You can definitely use that to do what you're looking for.
Xcode has no auto-import feature, nor does it have a feature to jump to a specific line, unfortunately. That may get added in a future release, but I wouldn't bank on it.
Your best bet is getting creative with Xcode's snippet features and its "Jump to Next Placeholder" command — you can create "marks" in your code with snippets and placeholders, jump to the top of the files to add imports, and jump back to your "marks" to keep coding. Create a new snippet that just contains a completion placeholder:
Type <#Mark#> into any text editing application (or even a file in Xcode) and drag the text into the Snippets pane in the right sidebar. This will create a new snippet with just a placeholder called "Mark".
Double-click the snippet to edit its information, changing its Completion Scope to "All".
Give it a completion binding (like "mark") that you'll remember to use.
Then you can create a marker whenever you want (typing "mark", then hitting tab), jump to the top of the file to add an import, and use "Jump to Next Placeholder" (^/ by default) to go back to the placeholder. You can then delete it and keep coding.
Alternatively, if you know vim keybindings and that seems too complicated, you may have some luck with the XVim plugin for Xcode that brings some vim features to its editor. Keep in mind that Xcode plugins are not officially supported, so unofficial support can be taken away at any time.

is there any eclipse plugin available for writing a memo on any line of code?

Doe anybody know of an eclipse plugin, which can be used to insert short text (in the form of memo) to remember what that line of code does or a block of code does to help me understand the existing code better and i can also refer it back later on.
Just like "Task" can be added on a line of code, although i can use "tasks" for this purpose, but that is not very convenient and intuitive.
If you want to add a short text to "remember what that line of code does or a block of code does to help me understand the existing code better", use comments. That's what they're for, and practically every formal language in the world has them.
If you want the ability to quickly jump to an arbitrary point in the code, using bookmarks is a convenient option - right click the bar immediately left of the text and choose to add a bookmark. You can then easily jump between bookmarks with the "bookmark view", which you can enable from the Window -> Show View menu.
The closest thing I can think of is bookmark support. There is native bookmark support in Eclipse and also several other vendors supply more function.
I'm assuming that there's a very good reason that you don't want to or can't modify the code.

How to wrap words/lines in NetBeans IDE 6.9.1?

I searched for "wrap" in keyboard mappings without success. I don't see this option in menu neither.
EDIT: I was thinking about result the you get let's say in Notepad2 by pressing Ctrl+W (or selecting View -> Word Wrap). So I'am asking about toggling such Word Wrap
In Tools->Options there is a whole section on line wrapping. The options you choose here will depend on how you need to do the wrapping - it is quite configurable.
Go to Tools->Options.
Click on Editor in the ribbon at the top.
Choose the formatting tab.
Choose the language you require the wrapping for it the Language combobox.
In the Category, choose Wrapping.
Configure how you would like the wrapping to take place.
Hope this helps...
Stolen from Sidarta's tip in this SO post:
You can use word wrap in Netbeans.
Add to netbeans.conf
(netbans_instalation_path/etc/netbeans.conf):
-J-Dorg.netbeans.editor.linewrap=true and restart Netbeans.
In Options->Editor->Formating there is
Line Wrap dropdown option
Works fine for me in Netbeans 6.9
Are you talking about "soft wrapping"? That is, there are no line breaks inserted into the text file, but each line is wrapped to fit in the editor window?
NetBeans doesn't support that. Hard to believe, I know. I think it might be coming in the 7.0 version, I'm not sure.
Since Netbeans 7, word wrap is available. See this blog for directions:
Netbeans & Wordwarp
As Daniel says, after Netbeans 7 this is possible. Just go to your NetBeans options and select the editor tab. In languages (dropdown) selection choose "all languages". Then you will see the option Line Wrap. Change it to "After Words" or "Anywhere".
Go to toolbar-> option ->Editor(Tab)
view this picture..
soft wrap in netbean
select your line wrap 'after words' .
after apply these settings. you will see the code responsive way. you don't need to scroll horizontal to see code.view the picture for resutl.
soft wrap in netbean