How do I remove a language from a Beaker notebook? - beaker-notebook

I've removed all the cells that refer to a certain language, and now I want to remove it from my notebook entirely. How do I do that?

Start with the Notebook menu, and open the Language Manager and click the button for the language you want to remove. The indicator would be green before you click it. The buttons are actually toggles. Make sure you have first removed all cells from the notebook that use that language. When the language is successfully removed, the indicator will go gray.

Related

How to activate the main window of PhpStorm after clicking its floating Find in Path window

Let me explain the situation.
I need to copy a lot of instances of a text inside a project of PhpStorm. So, I perform a 'Find in Path' action and a floating window appears with the matching results.
Now my problem is that after copying once from the floating window, if I click on another app window, then PhpStorm's main window/PhpStorm itself go to background, then if I want to copy text from the floating window again, I can not use any keyboard shortcut, I can not modify any line in the floating window because PhpStorm stays in background/inactive-mode even if I click on its floating window.
If I click anywhere in the PhpStorm except the main top-white bar of PhpStorm, then the floating window disappear, which causes me to perform the search again.
It is reducing my productivity a lot. Is there any way to make the PhpStorm active or bring it foreground when clicking its floated search window?
Please see the screenshot:
Is there any way to make the PhpStorm active or bring it foreground when clicking its floated search window?
You are approaching the problem from the a bit wrong angle. There is a better solution than fighting the focus/foreground state.
There is a button in the bottom right corner of "Find in Path" window ("Open in Find" it says on your screenshot) -- click it and it will open search results in traditional / standard Search Results tool window (with grouping by folders/files, preview area etc)... so no floating and no auto closing on clicking somewhere.
P.S. Lots of people forgetting that results shown in this new "Find in Path" dialog/popup is still just a preview (TOP 100 matches only). Super functional (you can edit and stuff) but still preview only. This mainly applies to those who remember the way how this dialog (back then it was dialog window) looked before redesign (now it's more of a popup).
Because of the way how it is all presented now (results occupy majority of the popup space) people somehow automatically forgetting about "traditional" way of searching (clicking actual "Find" button to get search working) and focusing only on what they see on a screen right now.
This new "Find in Path" dialog/popup adds a lot of convenience for sure (you typed search text and results are straight away before your eyes). At the same time quite often you may see/hear "it does not show me all results" frustrated comments (as it shows top 100 .. and a single file may have 100+ hits in some cases) and alike. JetBrains needs to improve UX a bit in this area for sure.

How do I add a language to a notebook in Beaker?

I'd like to add a language like to my Beaker notebook. How to I know which languages are available to add, and how do I add them?
Use the Notebook menu to open the Language Manager. There are buttons for each possible language. Each button has a status indicator: gray means inactive, green means active, and yellow means it is in progress of starting up. Click on the language you want to add (one that is gray). It should turn yellow, and after a while, depending on how fast your computer is, it should go green. Close the manager, and then when you open the language menu on any cell, you can set it to the new language and run it.

How to let user change text font and colour in WordPress WSIWYG text editor

I have set up a WordPress website for a client and have found that the user cannot:
1) change font size
2) change the actual font
3) change colour of the font
for the text they enter in the WordPress admin section as there are no tools to do this in the WSIWYG text editor.
Any suggestions on how to achieve this, I have tried looking for a plugin that enables this but can't seem to find one.
Of course they can achieve this in the Text section through HTML but the users are not familiar with HTML and CSS and frankly I wouldn't want them doing that.
I am using the latest version of WordPress (3.9.2)
p.s. I have the TinyMCE Advanced plugin installed already, it's quite cool but it doesn't have the above features I want.
Believe It or Not you can do this with TinyMCE Advanced.
step 1.) Install and activate the plugin (you said that you done that)
step 2.) Navigate to Settings->TinyMCE Advanced (in admin back-end and click it)
step 3.) There you will see it says Unused Buttons click the button you want and
drag and drop it inside Editor Settings (above Unused Buttons).
step 4.) after you have drag and dropped buttons click Save
step 5.) in order to change font color hover over icons inside Edit post
on one of them (beside undo/redo button) you will see on hover tool-tip that says Toolbar Toggle
click it and it will expand TinyMCE
step 6.) beside emoticons icon you will see an A letter (that letter is
underlined) this is where you change text color.
As you can see there a lot of options to choose from (you probably want Font Family and Font Sizes just see the step3 )

configure right click mouse for code comments in phpstorm?

Is it possible to configure comments code directly when right click mouse? For example, I select some code, then right click, then I can choose html comment, php comment, multiline comment.
No, it's not possible. But you can add your feature request on JetBrains tracker: http://youtrack.jetbrains.com/issues/WI#newissue=yes
Yes, all menus in PhpStorm are fully customisable.
Open Settings|Menus and Toolbars, then expand Editor popup menu, select any suitable existing element and use Add After to add one of Main Menu|Code|Comment ... actions.
This will make them appear in "right click menu" within editors. Action may be disabled depending on whether it is defined for the language at caret position.
Note, that built-in actions will automatically choose comment style depending on context.
If your intent is to specifically surround the selection with i.e. html comment you'll need to take additional steps - create a custom template for Surround with action, recording a Macro that invokes it on selection and adding that macro to the menu as described above.

Is there a Surround With for aptana studio plugin?

Is there some way to get "surround with" in the Aptana perspective in Eclipse like you have in the Java perspective. I would love to be able to surround text with html tags like eg: <div></div> with a keyboard shortcut. Is there some way of doing that with the snippets rubles?
Thanks,
You can do this with AutoHotKey, which has the added benefit of being available across all apps. I have a script which launches a 'surround' menu when I select some text and press CTRL+SHIFT+C
To use it, install AutoHotKey, and create a new .txt file with the following code, and replace the extension with .ahk
http://pastebin.com/48ipiXsG
At the top of the file you'll find a number of groups of items, in the following format
<h1>~<h1>##</h1>
the ~ character divides the name of the function and the function content. The bit before ~ is what appears on your menu, and after the ~ is the code. ## represents where your selected text will go. So if you select the text 'AutoHotKey' and press CTRL+SHIFT+C, and then select <h1> from the menu, it'll replace the with <h1>AutoHotKey</h1>
There are several menus in the script, set up to launch based on what app you press CTRL+SHIFT+C in. For example, I get different shortcuts if I'm in Visual Studio than if I'm in SQL Server. You can modify these easily enough, but the generic menu should work fine for you. Feel free to chop and change but you have to leave GENERIC at the top of the script.
PS: I use this script everyday, and there is one small bug. The script saves whatever you have in the clipboard in a variable, and then writes it back to the clipboard when it's done. Sometimes, instead of surrounding text it replaces it with whatever you had in the clipboard. This is easily undone with CTRL-Z and usually works the second time you try it. I've never been able to figure out what causes this, maybe some autohotkey heads can help out?
PPS : This script is based on some other scripts from the AHK forums, including this one
http://www.autohotkey.com/docs/scripts/FavoriteFolders.htm
So you may find comments that don't make sense. I've seen a few references to the middle click, as the script above uses the middle mouse button instead of CTRL+SHIFT+C.