Whenever I try to paste something in PHPStorm 8 IDE, it pastes the same content multiple times (sometimes more than 10 times).
This is really driving me nuts, is there any way I can solve this?
Related
IT student here.
Scenebuilder was working fine, until I tried to open a different .fxml from the one I was working on. Then Scenebuilder stopped working. Tried going back and opening the file I was working on fine previously, and that suddenly wouldn't open.
Looked on here and reddit for other solutions. People recommended going through IntelliJ "File> Settings> Languages & Frameworks> JavaFX" and fixing the Path to Scenebuilder. When I would do what I would think would fix it, it would spit a mirror image with different slashes. I took a picture of one of the results I got. I've tried flipping the slashes for the path, I've tried using the path that's the same as the file I'm trying to access, I've tried finding the scenebuilder file, but all I have can find is the installer, which makes no sense because I was just editing a different .fxml a few minutes ago.
Can anybody help me? I would like to be able to do my homework, but I'd also love to understand what's going on. I feel like a hot mess and a big dummy at the same time right now lol.
Example from my desktop
TIA!
This is going to sound absurdly stupid but here we go.
Over the course of my job this summer, I have developed several tools using VBA for the company. I am going back to school and in order to get credit for the job (and waive an internship requirement) I need to show what I've done.
In an appendix, my teacher would like to see the raw coding from my macros.
Now I know that I can print the script out directly from VBA but I am not able to format that the way that I would like before printing.
In addition, I would like to have the printout maintain the formatting from VBA (so tabbed lines and colored text) which I noticed printing it does not do.
Does anyone have any suggestions on what I could use to print out my scripts?
Thanks,
That guy who is hopelessly lost.
If you copy and paste the code into Notepad++, and save it as VB code, you can set the print setting (under Settings, Preferences, Print) to WYSIWYG.
Then, when you print it out, it will give you the indentation and colour coding.
How do I cut or remove bookmarked lines in multiple files with notepad++? I have 30 files and it would go much quicker if I could remove them all at once.
Try using Search → Bookmark → Cut Bookmarked Lines
While this method only works for a single file at a time, it should help make the process a bit faster.
For convenience, you can also set a keyboard shortcut using Settings → Shortcut Mapper...
Auto-indenting in IntelliJ IDEA seems to automatically takes lines previous to the selection in to consideration. This means that if the indentation is incorrect in the part of the file you're working on (e.g., 3 or 5 spaces where there should be 4, or even worse, a mix of tabs and spaces) it's annoyingly difficult to add correctly indented code.
Both new lines I'm adding and lines I use auto-indent on because I've changed them anyway get messed up like this. Since the file I'm working on is being worked on by someone else as well on another branch, I really don't want to modify over a third of the file just to indent everything correctly, but I would still like the lines that I'm actually modifying/adding to be correct - I don't see any reason to perpetuate the error when it's not necessary.
Currently the best mechanism for fixing it I've found is to manually do the spaces on a line and go from there, but it's really quite annoying, especially since I can't use the tab key or IntelliJ will immediately move to the incorrect indentation. It's barely better than copy/pasting the text to Sublime Text, fix the indentation there and paste it back without formatting.
My apologies if this has already been asked, I've tried to search for it, but it's very hard to search for this as there's so many auto-indent questions.
IntelliJ IDEA recently added a feature (in v14 or 1v4.1 if I recall) where it will detect indentation that is different from your settings. It will honor those indentations (in order to keep the file consistent). Usually as soon as you start editing the file, you get a banner, although that can be turned off. The banner looks like this:
This allows you to modify this setting on a per file basis, or turn it off completely (i.e. the "Show Settings" option).
I suspect this feature is what is causing you the issue. I am not sure how it handles a case where a file has mixed indentation (e.g. most of the file is 4, but some sections are 3 or 5 spaces). You can try turning this feature off in Settings > Editor > Code Style > "Detect and use existing file indents for editing"
I have got a Java application that uses the EPF RichTextEditor component/plugin. Everything works quite well. The problems appear if a user pastes some text that has originally been copied from an MS Word document. Pasting this text leads to a mess in the HTML source and also in the preview.
Of course I could write some methods that clean up the text afterwards. But I have seen online editors that come with a button like "paste from word". My question is, does there exist something similar for the EPF RichTextEditor?