I use the Chrome DevTools to edit my large JavaScript file.
Is there a way to set Bookmarks in the code like in Visual Studio (see the hotkeys on https://stackoverflow.com/a/926065 or even better https://stackoverflow.com/a/38419034)?
Interesting! No, DevTools doesn't have official support for this one. I filed a feature request: https://crbug.com/963682
Update
We don't have official support for this feature, but there is a workaround.
Use a line-of-code breakpoint as your "bookmark".
Disable that breakpoint from the Breakpoints pane.
Click the preview to jump to that line of code.
P.S. I tweeted this workaround idea. Thank you for the inspiration.
I've downloaded and installed yari but I cannot figure out how to use it. Everything I see is another menu item "YARI" with a couple of subitems but they all are pretty unclear. I haven't found any tutorial or documentation on this subject.
What I expect: some window which will automatically appear at a start and contain information about GUI of my application
What I get: nothing.
The documentation for the yari project is hosted on SourceForge:
https://sourceforge.net/p/yari/doc/Home/
On the "General" documentation page is an introduction to the yari toolsuite:
https://sourceforge.net/p/yari/doc/HowToGeneral/
To get access to the yari features you have to open the "Show view" dialog in your Eclipse and select there the yari tool you need (placed in the yari group). The main menu entries offer other yari-stuff.
Checking the list
https://developers.google.com/chrome-developer-tools/docs/shortcuts?csw=1#sources-panel
I cannot find any way to navigate through the source files inside Chrome Dev Tools. Anyone with an idea how to switch source files without using the mouse?
Ctrl-P / Ctrl-O shortcut will bring up a Goto-Source dialog.
To my knowledge there is no keyboard shortcut for doing this. I would know since I have recently updated that page multiple times to add or change some shortcuts.
I'm pretty sure there's no command you can configure either.
I'd suggest opening a ticket for it if you would like to see this added.
This is probably a pretty simple question, but I don't see how to view in browser like I would for a traditional asp.net application.
If you're using Visual Studio, Ctrl + F5 to run without debugging and Cassini will take care of the rest (or do you mean from inside visual studio like you can with webforms)?
Sadly, it seems that Microsoft has acknowledged this as a bug.
There are a couple workarounds you can try -- though none of them are exactly what you are looking for. None of them let you start your web page from any arbitrary page simply by right-clicking.
One inexact workaround that is good enough for me is:
If you open up your project properties and go to the Web tab you will see the "Start Action" setting. Change this to "Don't open a page. Wait for a request..."
Now when you start debugging, nothing will happen! (oh no, it's worse!)
Now you can right-click on the Cassini system-tray icon and choose to open the browser from there. You only have to do this on your first session of the day. Once you do this, you can navigate to where you want in your site, and keep that browser window open all day. Letting you start and stop debugging from that point whenever you want.
Again, it isn't exactly the same, but it isn't terrible either.
Just run the Visual Studio Project and it should open the application's Index view of home controller by default!
If you are talking about IIS file viewing, in IIS go to your application -> switch to content view -> go to default.aspx -> right click -> choose browse
I use Eclipse 3.3 in my daily work, and have also used Eclipse 3.2 extensively as well. In both versions, sometimes the Search options (Java Search, File Search, etc) in the menu get disabled, seemingly at random times. However, with Ctrl+H, I am able to access the search functionality. Does anyone know why this happens? Has it been fixed in Eclipse 3.4?
window > close all perspective works for me.
Using Eclipse 4.3(!) this happened to me after doing a case-sensitive search.
Window -> Close All Perspectives didn't fix it and neither did restarting Eclipse using -clean. While messing with the search box, I discovered that simply clicking to a previous search entry allowed me to edit it and search again! Clicking back to the case-sensitive search grayed the option out again.
So before you reset anything in your workspace, try pulling up an older search entry using the Down Arrow.
I think this answer is what you all need to solve the issue on all versions.
I am using RAD 8 and I have also faced this problem than I removed org.eclipse.search directory in (workspace currently using) workspace/metadata/plugins folder then restart the eclipse.
That's all.
I don't have an exact answer. I will recommend that you try to correlate the disablement with which perspective is active. Likewise, which view is active. I have been using 3.4 and not experienced this issue.
Darn! I have that problem too -- in Eclipse 3.4.2.
Seems to be related to Navigator and Project Explorer views:
- Switch to Debug perspective: Search menu items are there.
- Switch to Java or Java EE perspective: Search menu items still there.
- Click on a project in Navigator or Project Explorer: Search menu items all DISABLED.
(Curse! I use search in Selected Resources a lot! )-:
Hmmm... It may slso depend on the file type currently open in the editor. (Like Java vs xml.)
Still present in Eclipse 3.5.2 -- and for the first time really sticky.
I checked out the "close all opened files and open any other file afterwards" answer and that brought back the Search menu items. Additionally, if you were lucky and have the Search result view open, than indeed there is this little link "Open search dialog".
By the way, additionally lots of other project-related menu items seem to be greyed out also together with this, and they did not reanimate :-( But I did not really check out if these are only items for which it is useful and planned to be greyed out in this situation.
I'm using RAD 7.5.1 which runs on Eclipse 3.4 and I get this problem frustratingly often. It doesn't matter which perspective or view I'm in, or which editor I have open.
Restarting RAD usually clears it up, but because that's such a colossal pain, I found that you can get around it in the Search View, there is a link; "Start a search from the search dialog" which will bring up the search dialog.
This isn't a great workaround because the link only shows if you have no search history. To do another search, you'll have to clear your search history in the view.
A late comment for anyone getting bitten by this, but I found "eclipse -clean" fixed it => this does a cleanup of the workspace before starting
Thanks http://letsgetdugg.com/2009/04/19/recovering-a-corrupt-eclipse-workspace/ for the tip, after I guessed my workspace might be corrupt.
Before search, check you may choose scope in empty Working set. Most Search menu disables Search button when you choose it. And mine, too :)
window > close all perspectives worked for me too.
But if you are just looking for a text search in the project you could press Ctrl+Alt+G on a marked text
I couldn't get it to work even when restarting Eclipse.
Here's what worked for me: Closing all open files and opening a different file. The different file happened to be .java, but not sure if that had anything to do with it.
I get this problem from time to time.
In the past I've fixed by starting eclipse with the -clean option.
Once when that didn't work I created a new workspace.
I followed these instructions for those two solutions.
The clean option didn't work for me today and I found this thread because I didn't want to create a new workspace. The closing all files and reopening one file did work however.
I had this issue also in eclipse 3.6.2: Helios Service Release 1.
Closed all the editor windows, and the search has been enabled.
Switching to another perspective, then back, works quickly for me.
I've faced similar issue in Ctrl+H "File Search" tab. The "Search" and "Replace" button was grayed out (disabled). The solution is fill the "File name patterns" text box (for eg, *.py). May be this is by design!
I have this problem with MyEclipse 7 (eclipse 3.4) under Debian Lenny. Perspective doesn't seem to matter. I get around it with the shortcut Ctrl+H but I was hoping for a better way.
Just had this problem in Eclipse Neon 3. It is a very common problem in RAD. I could find using in the console, then switch back to the source and search. RAD would disable the find/search options per source file open. This is very frustrating.
I had this problem too. It appeared when I installed the m2eclipse plugin.
I had not found a solution, but you can use Ctrl+H shortcut instead.
And you can navigate between tabs with Ctrl+PgDown or Ctrl+PgUp keys.
I've uninstalled the following pluings and it worked.
Maven integration
PMD
eclipse checkstyle plugin
EclEmma (coverage)
I don't know which of those cause the problem. To uninstall a plugin: Help -> Software Updates...-> "Installed Software" tab.