tinymce: invert enter and shift+enter - tinymce

when i press enter tinymce generates a paragraph + a tag br
i don't want this behaviour.
Is possible obtain with enter pressing the behaviour of pressing shift+enter ?
thanks

The force_br_newlines option sounds like what you're after.

Related

VsCode Accept Suggestion on enter Not Working :(

Normally, pressing enter accepts a suggestion on intellisense, but when I press enter, it does not accept the suggestion and goes to the next row.
On pressing enter, I want to accept to the currently selected suggestion and automatically write the row. How can this be done?
Go to File>Preferences>Settings and make sure that Accept Suggestions On Enter is on.
VSCode Accept Suggestion On Enter option

How to start the search process in Visual Studio Code

I can see the search form panel in left side, but, how can I start the search process? there is a field to put the text that I am looking for, but I don't find a button or icon to press and start the search process, I don't want to try pressing the enter button because I don't know if pressing enter will search or it will replace (since there is also a "replace" field)
Regards
Enter will start the search, don't worry. If I remember correctly
Ctrl+alt+enter does the replacement for all and you also have to
confirm before the replacement – FreshD
thanks, I also noticed a small triangle to hide the replace field

TinyMCE - text direction changes automatically to left-to-right after pressing Enter in H1

In TinyMCE 4, if you:
change the text direction to RTL (push the right-to-left button)
now insert some text and make it H1 (Header 1)
now press Enter
now type something
you can see that edit direction for some reason is switched back to LTR.
What to do (programmatically) to keep direction RTL after pressing Enter?
If you want the editor in RTL mode just set it when you initialize the editor:
https://www.tinymce.com/docs/configure/localization/#directionality
There is also a plugin to allow the user to switch directions themselves:
https://www.tinymce.com/docs/configure/localization/#directionality

VS Code shortcut for searching the highlighted text

Is there a shortcut that would act like Find in Files shortcut, but would also perform a search of the highlighted text?
I guess you are looking for this icon "Find in Selection (Alt+L)"
Just press Crtl + F and Alt + L to highlight the icon and you are good to go.
The 'find in files' shortcut by itself searches for highlighted text 'ctrl+shift+f'. You can navigate through the results with 'f4' to get to next one.
If you want to search for all references you can use ' shift+ f12'.
If you want to see the list of all shortcuts you can always use 'ctrl+k ctrl+s' to browse shortcuts and edit them.
I just uncovered the Search Under Cursor extension which does exactly what I believe is wanted i.e. your cursor is on a word and you want to quickly search all files for that word, without having to select/click the whole word.
I find it interesting that this function isn't baked into VS Code, I run it so unbelievably often. Just saving a reach for mouse and double-click, or an "Expand Selection" keystroke is a huge win for me.
HTH

How to select content of a tag in Aptana?

Is it possible to highlight the content of a tag in Aptana with some key combination?
It is possible pressing on top tag... Ctrl+Shift+. (only works with some versions) and to select all internal data tags press on top tag .. Ctrl+Shift+/ then press 2
To be hone I don't think so, but you can try by clicking on the start of the tag and press shift+ down arrow, or close the tag (see the - next to the line number?) press it and it will summarise the tag, and you can just highlight it all by selecting the summary.
Ctrl+Shift+.
Or right click on the tag, commands, HTML, Select tag pair and content.