Command R browser refresh in TextMate 2 - textmate

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.

Related

Ruby Solargraph Snippet Does Not Show Up

I have been trying to help my classmates at Flatiron install Solargraph for their Macbooks but the problem I have been encountering is with IntelliSense / pop up.
It seems to provide the method names, and hoover seems to sometimes work, but the definition/snippet pop up does not appear to the right of it like it's supposed to.
We're using VSCode, I did put a check on use language server and I have tried to uninstall and reinstall the extension.
It sounds like the popup with additional info is closed. When you hover over the completion item, a > should appear on the right side of the bar. Clicking it should open the popup. It'll stay open for other items until you close it again.

Windows Octave fails to paste text from clipboard?

I am just install Octave 4.2.0 in Windows 10 and try to do some Machine Learning exercises. I notice that I can't paste the normal clipboard content to the Octave.
Does anyone else have this issue? If so, any work around? Or is it just bug in the program?
Although your description doesn't indicate the exact place you're trying to paste contents into, there were a couple bugs around the time of Octave 4.2 specifically related to this problem. See:
bug #51095: editor doesnt allow paste of exisiting clipboard data
and
bug #52361: Ctrl-C/Ctrl-V only works reliably if executed as very first action
both bugs have since been patched and closed (around version 4.4), and reports seem to indicate that the problem has not resurfaced in later versions. Anyone experiencing similar issues in a recent version of Octave (v5.2.1 as of today) should either comment on one of those closed bug reports or create a new one at https://bugs.octave.org
Run >> preferences, and in the Shortcuts tab, untick the option at the top "Disable global shortcuts when Command Window has focus". (I don't know since what version it is there.)
If you disable global shortcuts, Ctrl-V (for paste) is disabled because it is a Windows thing.
If you do not disable them, Ctrl-V will work. So will Ctrl-C to copy text, but it will also still work to abort an execution.
If you click on the icon in the title bar on the top left corner of the
window, you'll get an edit option, and you can choose to mark (choose
the text to copy), copy, and paste from there.

CLion does not paste the correct snippet from clipboard

while having used Java and PHP most of the time in my programming "carreer", I am now trying to learn C++ more in-depth. For that, I am using CLion as my IDE - mostly because I am very familiar with phpStorm and IntelliJ IDEA and I don't want to "learn" a new IDE in addition to learning a new language.
Now, I have hit the problem, that CLion does not take my current Clipboard content when pressing Ctrl + V. The snippet was copied from the Browser (Firefox 41.0.1) and it neither works with code copied by Ctrl + C nor with code copied by rightclicking and then selecting Copy.
It seems like the IDE has problems with getting the Clipboard content from the outside, because when copying and pasting inside the IDE, it works perfectly fine. Only when trying to paste something from another program, it ignores it and pastes something that I copied inside the IDE before.
Do you have any clues on how to fix that? Is it a bug or did I mess up something in my settings or somewhere else?
Clearing "Paste from History" (Ctrl + Shift + V) worked for me.
Same issue with Chrome version 47.0.2526.106.
It seems like that the problem happens when more then one Clion project window is open. After resetting the clion clipboard the problem will not occur during the session again. But after starting a new Clion session the bug is back in place.
Added on 27th december: It also happens when you are only working with one window and stored 5 values in the clion clipboard.
For me works only using middle mouse button for paste.
There sometimes is a notification when you try to use several shortcuts that this is already taken by some VIM Commands and if you want to disable this. Selecting yes didn't change a thing for me.
But using that hint, going to File>Settings>Plugins, disabling IdeaVIM and than restarting did the job.
Fabrizios answered on the duplicate item something, that was partly helpful for me: Ctrl+Shift+V brings up the clipboard history)
This still left me with the actual problem (Ctrl+C, Ctrl+V and more not working).

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.

Unable to set breakpoints in Chrome dev tools, version 26.0.1410.64 m

I need to debug some JavaScript an' I use Chrome dev tools. I'm a newby in JavaScript (just started to learn a couple of days ago), an' at work I could set breakpoints via the Resources pane. But at home for some reason I can't do this: after the click no breakpoint appeares.
I have Chrome version: 26.0.1410.64 m.
What could be the case?
clicking on the De-Obfuscate Source button (i.e. {}) solved this issue for me.
I'm a fool! haha! breakpoints are set in the Source pane )))
It's been a while, but in version 33.0.1750.146, but my problem was that I was on the Sources pane (I'd call this a tab; it's one of the items at the very top of the window), but I was on the Content scripts tab (on the left hand side). I needed to switch to the Sources tab.
To be clear, there are two sets of Sources tabs; one is within the other.
UPDATE 2016-01-07: Now I'm on 47.0.2526.106. The only thing that worked for me today was to close DevTools and re-open. It was a little finicky. It worked once, then stopped, and I had to close the DevTools and re-open again. I saw #johntrepreneur's answer about closing the browser, but unfortunately I have too many tabs open on too many workspaces, so that's too much of a pain, so I didn't try that, although I have to assume that would work.
Other solutions didn't work for me. Had to close and restart browser to be able to set breakpoints again.
This also happens when there is a JS error in your code.
Some sort of weird built in function in windows 10 i think because I did press a few buttons by accident. Some of my keys even stopped working in certain areas of visual studio. F.e the letter "c" stopped working in the find window.
Mine did this and no solution worked, i pressed alt, windows key and function key a few times and my problem went away.
Fixed as follows: For me, the issue stems from having set up Chrome to interact with operating system files. If you set this up, then the fact is evident from a green dot by the file name. At some point, I could not set a breakpoint in a recently edited file. I fixed this by disconnecting the interaction, as follows: When viewing "sources", above the code, there were some file names listed. Clicking the [x] to make the particular filename go away gave a caution message; I proceeded without saving. After that, I was able to set breakpoints for that file.
I also had this problem. However, once I closed the popup message in my browser, suddenly all my breakpoints that I set in that time appeared. Mental note: Don't set breakpoints while your app is showing a popup.
I couldn't find any direct fix for this problem.
It seems that chrome keeps settings of your site stored somewhere whatever you do to clean it. (I tried removing the folder from workspace, closing et reopening chrome etc... and nothing worked).
A workaround is to change your site's url to make chrome consider it a new site

Resources