How do I do a project wide find/replace in Flash Builder 4.6? - flash-builder

I am trying to do a project wide find and replace in Flash Builder 4.6 but it is not obvious to me how this can be done.
I have tried Edit->Find/Replace then Replace All but it only replaces matches in the file that is currently open.
There is a Replace option in Search->Search but I'm not sure how to use this if it is what I am looking for.

Search -> Search is the correct place for that.
Type in the search term in the upper textinput and select your working set at the bottom. You can either explicitly select classes or packages or the whole project(s). The Replace button at the bottom lets you specify the replacement term after the search has been completed.
Pretty straightforward really, just try it. ;)

Related

IntelliJ IDEA equivalent of Edit.GoToNext/PrevLocation

In Visual Studio 2019 I can use Find in Files to find some text in my code. Then I can use Edit.GoToNextLocation and Edit.GoToPrevLocation to move through the matches. (I have them mapped to Ctrl-N and Ctrl-Shift-N.) This allows me to jump from location to location and edit as necessary without having to use the mouse.
How can I do the same thing in IntelliJ IDEA?
There are many ways, I suggest you get familiar with "Action" shortcut (control+shift+A) and "type" what you want, see if there's an action and what shortcut (if any) it has.
For e.g.:
Get also familiar with "Bookmarks". (Control Tab, Double Shift are also good) Control-E (recent is nice) think all these you can "type" to search in them as well and narrow the results using fuzzy search (aka: type TM for "TimeManager" for example). You get the idea.
I think I found it!
IntelliJ IDEA appears to have a Next Occurrence command that does what I want.
It seems that to get a navigable list of found results, I need to do Find in Path... followed by Open in Find Window (Ctrl-Enter). Then Next Occurrence and Previous Occurrence (not to be confused with Move to Next Occurrence and Move to Previous Occurrence!) take me through the various places.
In IntelliJ IDEA it doesn't loop back to the first result like Visual Studio does, but I can live with that.
I do wish it would go straight to the Find Window instead of me having to tell it to.

Intellij: Highlight current block of code

I was wondering if it is possible to highlight the block of code you are working on in Intellij Idea.
There was a similar question here: Is there a way to highlight the currently active code block in Visual Studio 2010? .
So what I mean is that if you have clicked into e.g. a method or a while loop... ,the background of the whole block becomes a bit lighter or whatever.
There's already one such feature, but it's more subtle, in the form of a vertical line inside the left gutter... I can't recall whether it's enabled by default or not, but you can activate it by File -> Settings -> Editor -> General, scroll to the Highlight on Caret Movement section (about half of the page).
I looked around for a while but I have not yet found a way to change its appearance to match your description, although I personally prefer this less intrusive highlight than having all the background changed.
P.S. Not sure this is relevant or useful to you, but there was a plugin I tried a while ago called CodeGlance which offered a scrollable-map of the class:
I don't know when this feature was implemented. As of 2021, if you double click anywhere in the scope ( but not on text ), Intellij selects the current block of code ( text within two curly braces ).

How to change position of output panel in sublime text?

I want the output to show to the right of the code, not bellow it. I can change the view to two columns but I can't change the position of the output panel. For example:
Is it possible to change the position of the output panel to be to the right of the code, not below it?
There is a solution, which exists for years already, but does not seem to be widely used. It's the package buildview: it puts the build output in any other view, i.e. acts as a normal tab.
LINK:
https://packagecontrol.io/packages/sublime-text-2-buildview
(perfectly works with sublime 3)
It seems this feature has been requested: http://sublimetext.userecho.com/topic/23694-ability-to-show-console-output-side-by-side-with-code/. So the answer would be no, there's no way to currently do this, and there doesn't seem to be mention of it in the changelog thus far for SublimeText3.

Is there a Textmate equivalent of "Format indenting of selected code" in Sublime Text 2?

In Textmate, the keyboard shortcut ⌘⌥[ properly indents all the nesting on selected code.
Is there a similar option in Sublime Text 2? It's the only thing holding me back from switching and I've checked all documentation to try and find something similar.
I'm not sure if Sublime Text 2 has a generic code formatter, but there are a lot of really good packages out there that will provide various formatting for different languages.
Take a look at Package Control (used to manage plugins for Sublime).
http://wbond.net/sublime_packages/community
For formatting Ruby there's a pretty good package called BeautifyRuby. https://github.com/CraigWilliams/BeautifyRuby
What you are actually looking for is "reindent". It's under the Edit -> Line -> Reindent option. Strangely enough it's not bound to a keystroke. Simply installing code syntax packages will not cause them to apply the formatting to existing code.

Is there an easy way to make a code TextBox?

Is there an easy way to make a code TextBox?
I'm trying to make my own limited/specialized version of XAMLPad.
Displaying the current XAML object tree in the top display is simple enough, using XamlReader.Parse() ... But I'd like the actual XAML code in the bottom window to show up in its appropriate colors.
Here is an example of something similar to what I want.
(source: usefulfreeware.net)
The above example looks pretty authentic, with the little expander/collapser thingies on the left side as well as close-to-standard coloration of XAML tokens.
I believe that this doesn't have to be created from scratch, so I'm asking SO if anyone knows where I might find automated support for this type of "code" display.
Kaxaml uses ICSharpCode.TextEditor, the text editor component from SharpDevelop.
Have a look at sharpdevelop - we use it for an internal iron python editor