Navigating code using Ctrl-F, and CodeRush Markers - devexpress

When I use the 'Jump To ...' context menu CodeRush drops a marker before jumping, so that I can navigate back.
When I CTRL-F in Visual Studio it doesn't.
How can I configure CodeRush to add this handy little navigation aide.

Ok simple enough
Create a new Shortcut using instructions found here
Specify Ctrl+F as the Key
Specify MarkerDrop as the Command
Then check the "after executing this command, pass shortcut to IDE for default handling" checkbox.
Ctrl+F should now drop a marker whenever it launches the Find Dialog.
More detail and bonus Marker tips are available here

Related

Redux DevTools: Can't open VS Code from Trace tab lines of code

My problem is when I am on the Trace tab of Redux DevTools on Chrome and I click on a line of code (for example a dispatch) that the Trace tab allows me to see like here, instead of opening it on VS Code at the correct number line, it opens a new tab on Chrome with the message "A website wants to open this application" with a button "Open Visual Studio Code" but the tab instantly closes/disappears!
I tried several times to click very quickly on the button "Open VS Code" but it doesn't make any difference. I also tried Ctrl + Shift + T to reopened closed tabs but it doesn't reopen that specific tab...
It seems I only need to click on that "Open VS Code" button to make it work. Also I'm a beginner so there's probably something I'm missing.
Here are the values I put on the settings :
The settings
I think you should fix the path of your project directory correctly. I've also face the same problem for a while then I found my mistake and resolved the same problem.
Here the first step you have to follow check the project directory displaying in reduxDevTool https://prnt.sc/wk4z5f
You see the file name like this .redux-starter/src/index.js:9(Please check the above screenshot link)
Open the reduxDevTools Settings by clicking on settings button from reduxDevTools.
Here you have to check the radio External ediotr radio button and type vscode inside the input field.
And finally, most important things you have to setup i.e; is path of your project directory. Copy the project directory path D:\xampp\htdocs\reactjs\redux\ where the Redux-Starter project folder exists and paste it on that textarea field.
Lastly, reload the frame, go to Trace tab and click one of the dispatch function. You will see that it opens in the vscode.

Workaround Qt bug Combobox dropdown appear behind window

Right now I have a small tool app that runs in the icon tray. When I click on the icon, the app goes into "windowstayontophint" mode. I added a Combo Box on this window. But when I click elsewhere on desktop, and then click the combo box, the drop down window goes to the back of the window. This seems to be a known bug as reported here:
https://bugreports.qt.io/browse/QTBUG-61804
Is there a workaround for this? I am using Qt 5.9.1.
EDIT: Add some code:
This in MainWindow constructor:
Qt::WindowFlags flags = this->windowFlags();
this->setWindowFlags(flags|Qt::WindowStaysOnTopHint);
Then I put a QComboBox in the mainwindow with preloaded items. First time click, the dropdown appears on top as normal. Then I click onn desktop and then back on the mainwindow and combobox. And drop down becomes at the back of mainwindow. CLick on the link above to see what I mean. The bug report also provide screenshot of what is happening.
Nobody want to put an answer, so I answer this myself.
ANSWER: Update to latest Qt.
It did not work for me because I was having trouble updating (noob here). What basically happened was that Selecting "Update" option on Maintenance Tool does not update SDK from 5.9.1 to 5.10.1. It only update certain things like Qt Creator.
I needed to choose "Add or remove Components" and then adding Qt 5.10.1, but only check the MinGW 32bit only. (Uncheck all others otherwise you need them (like android or other)).
Even after that, you also need to manually download CMake (get it from cmake.com) and set it in "Manage Kits" in Qt Creator.

Qt Creator Debugger Views become Disabled

While debugging in Qt Creator (ver 3.4.2), if I hit the escape key (which I tend to do often to declutter my work space), then all of the debugger views including the debugger toolbar become hidden (as expected), but later I can't get them back. If I go under Qt Creator's main menu->Window, then Views is disabled.
Here's an example of a basic window before I click the escape key. Notice I have all of the debugging views showing (i.e. Breakpoints, Stack, Locals and Expressions, etc...)
Here's an example of my window after I've clicked the escape key. Notice how all of the debugging windows are hidden (as expected). My question is, now how do I get the windows back? You can see how the "Views" submenu under the "Window" menu is disabled.
Is there some sort of "Show Debugger Toolbar" keyboard shortcut? Or is there another menu somewhere to get this back? Any help would be much appreciated.
Under the Window menu, enable Show Mode Selector. This will show a strip down the left of your window where you should see a Debug tab you can click on to put Qt Creator back in Debug mode.

Error in stimulSoft

I am new in using StimulSoft. I designed report in StiWebReport Control completely, but I have problem when I want to add this code in page load.
Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport();
It says "The type or namespace name 'StiReport' does not exist in the namespace 'Stimulsoft.Report'"
What should I do whith this error?
You need to add a reference to the library you're using into Visual Studio, so it knows about that code.
Something like this:
In Solution Explorer, double-click the My Project node for the project.
In the Project Designer, click the References tab.
Click the Add button to open the Add Reference dialog box.
In the Add Reference dialog box, select the tab indicating the type of component you want to reference (.Net)
Click Browse
Navigate to the DLL provided by Stimulsoft.

Xcode 4 Inspector Panel tells me "No Selection" no matter what

I have a window, a label, a button, and an NSObject.
The first thing I want to do is change the NSObject's class to that of my custom controller.
The thing is, I can't seem to select it. Whatever object I select, the inspector panel says "No Selection". Why? I'm baffled.
accepted answer did not work for me, but answer by 'NSExplorer' did (In Xcode4, the new interface builder says "no selection"). i slightly modified answer from 'NSExplorer'
.. switch to another (non IB) file in the current tab
.. switch back to the IB file (eg. Main.storyboard)
the Attributes Inspector will magically show in the new tab.
I just had to close the assistant editor and the debug area and then it magically showed up. If you don't have the assistant editor open then all you need to do is open it, then close it again. That should fix it too.
If you don't know what the assistant editor is I have highlighted it in red:
Xcode 7.2
The interface builder in XCode 4 is incredibly buggy. I'm also having frequent issues like this. Have you tried closing XCode and re-opening your project? Sometimes, resizing the entire XCode window also seems to reset the interface builder layout.
Make sure you're selecting the objects from the XIB document panel (Where it says "Objects") on the left. Sometimes clicking the actual UI controls doesn't catch in the inspector panel, for whatever reason.
For me, I had the bottom, debugger stretched all away to the top. It said "no selection." By Taping on hide/open bottom debugger twice, you can get the main component back again.
If you have multiple windows, close the storyboard file and open it again, it worked for me

Resources