Select the target application does not appear in vscode - debugging

I use vscode a lot to write scripts for Adobe applications, and in recent days when I opened vscode, the button with the yellow inscription "Select the target application" that appears in the status bar at the bottom of the vscode window suddenly disappeared, and in its place another button appeared with the inscription "Eval in Adobe".
I tried to Google it, I tried to check in the plugin settings if there is a setting that causes this, and also I tried to install previous versions of the plugin, but to no avail.
Please enlighten my eyes and explain to me how to get it back.

I'm not sure if there is a way to get it back, but it should give you the same functionality as before.
The new 'Eval in Adobe' button, after clicking, should give a dropdown of all possible Adobe Apps that you can run your program in.
Alternatively you can go into the Debug panel and click 'Run and Debug'. Then select 'Extendscript' then 'Attach'. At that point it will give you the same Adobe App selection choice.
The button will change to orange and say 'Eval in Adobe (Program Name Here)'. You can then use it to immediately enter debug without having to reselect your target application.

Related

How do I execute my code through the terminal while using Xcode?

I recently started using Xcode and I have been wondering how I could run everything on my terminal instead of using the bottom right corner of my IDE. Could someone explain this to me in baby steps.
Click on project name and click Edit scheme as below,
Click Run and click Options and choose Use Terminal below

WebStorm - prevent search window from closing

I am using WebStorm. Every time I open the search window (of WebStorm) it is closed when I switch between the window/ tabs of the computer.
How can I prevent that and keep the window open when I get back to WebStorm?
Assuming that by "search window" you mean the "Find in Path" functionality which got a new design in 2017.1...
When switching between the apps -- it's a bug in 2017.1 -- it's fixed and should be available in 2017.1.1
If the question is about "it closes when clicking outside of new search popup (e.g. in the code)" then please follow IDEA-168640 ticket (star/vote/comment) to get notified on any progress.
P.S. You may revert to the old style dialog if you so desire:
-Dide.find.as.popup=false in Help | Edit Custom VM Options will restore the original dialog.
clicking on the "Pin" icon in the upper right helped me.
Reference: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000138864/comments/5995088437906

Cloud 9 (c9.io) terminal will not allow me to enter text

I am very new to this, and my c9 terminal seems to be frozen. The cursor is blinking, but when I try to enter text, nothing shows up. I have tried exiting my workspace and reloading and it still will not work.
Opening a new terminal tab with the View menu or pressing ALT-T is the best bet to get a working terminal back (as mentioned in the comment above)... you may also find that having selected the broken terminal though, you can't click things in your menus anymore. I've found that pressing the Preview button and then closing it, seems to get the UI to be responsive again.
Supports official response is that you should perform workspace reset using ?reset=1 after your workspace url (which doesn't last or work very well in my experience).
This can happen after pressing ctrl-s, pressing ctrl-q should restore it. See https://unix.stackexchange.com/a/12108/41174 for explanation.
I tried ALT-T and ?reset=1. Nothing helped in my case.
I managed to bring my frozen terminal back to life by closing its tab. I ignored the warning that all processes would stop. Then I clicked on the rightmost tab with a plus sign. In the menu I selected "New Terminal".
You can click at the top right where CPU usage is shown. Then click on "Restart" when the menu appears.

Command R browser refresh in TextMate 2

Using the HTMLbundle in TextMate version 2.0-alpha.9503, OSX 10.9. I have a html page open in the editor. When I press command R the first time it switches me to Chrome and refreshes the page. On subsequent command R keypress, I get switched to the Chrome window but there is no refresh, and then when I switch back to textMate I get a "Run" dialog and the message:
No Makefile found.
Set TM_MAKE_FILE in Preferences → Variable.
So obviously after the initial command R, the key combination is triggering a run dialog, but I'm not sure why.
Very new to TextMate so I'm not sure if this is something I am doing wrong, or perhaps I need to be on a more stable version of TextMate.
Any help would be appreciated, this seems like a really cool feature if I could get it to work
Thanks
The Dialog you posted is from the Make bundle...
Make sure your document type is set to HTML before pressing ⌘-R (via the menu on the bottom left or by pressing ⇧⌥^H).
If this does not help, try uninstalling the Make bundle. Normally this behavior shouldn't happen even if the Make bundle is installed, can't reproduce it here. But it's worth a try.

Xcode 4 - simultaneous viewing of Project Navigator and Debug Navigator and other Navigators

In Xcode 4 (4.2), is there a way to keep the Project Navigator view open and Debug Navigator view open as well. Must a user have one or the other, but not both? And the other navigators?
Apple seems to have decided that if you want to see the debug view, you don't want to see the files in your project. WTH? Am I getting this wrong? Did Apple Xcode UI guys even talk to developers before designing the UI for Xcode 4?
Sigh...
You can indeed have more navigators open at once, if you are prepared to have multiple windows open. I know it's not exactly what you're asking for, but for multiple display setups it's very handy. Xcode provides "behaviors" to help automate this process if you only want certain things showing at certain times.
For example, a common pattern that developers follow is to setup a behavior for "Run starts" that opens up a new window setup for debugging. Start by creating a new tab in your main Xcode window by pressing command-T, and double-click on the tab's title to rename is "Debug", or whatever you like. Then drag that window out (or leave it as a tab if you like), and customise the view as required - for example, for a deb window you might have the Debug area showing at the bottom (or even covering the whole editor view), and remove the toolbar at the top by right clicking and selecting "Hide Toolbar".
Next, go to "Xcode > Behaviors > Edit Behaviors..." and choose "Run starts" in the left panel. Check the box for "Show tab" and enter the name of your newly created tab. You can also ask that tab to automatically show the Debug Navigator, and show the debugger with variables and/or console view. If you like, you can then choose "Run completes" and show the original "tab" (window), which I've setup to be called "Coding", and show the required navigator (in my case, Project Navigator).
On successfully running, Xcode will now open up your new window (or bring it to the front if it's already open) with all the settings you left it with. On stopping, your main editor will be brought back to the front.
There are loads of useful behaviors, so I would really recommend looking through them and taking the time to setup Xcode to suit your style as best as possible. All software dictates to the user how to go about doing things, and the developers can never please everybody when they decide to change the UI. The best anybody can hope to achieve is to customise the interface as best as they can to fit their style of working. If it's still an issue for you, you can either adapt to it, or, if possible, move to something else.
I'm not a fan of every new interface feature in Xcode, but I've "made it mine" with some customisations and I can still be very productive. That being said there are a lot of things that I do really like about it, and for that I can forgive it for some of the less friendly features - after all, you can't please every user.

Resources