Xcode autocomplete missing "if" statement - autocomplete

As of a couple of days ago, every time I type out if, autocomplete no longer writes out:
if (expression){
}
but instead autocomplete gives me the macro ifa_broadaddr
This has started to drive me crazy, how can I fix this ?

I followed instructions on this site: http://sealedabstract.com/code/when-xcode-4s-code-completion-autocomplete-breaks/ and it worked again. :)

Related

Empty Netbeans 13 palette? (only shows Beans)

I've tried the solutions listed in previous posts but none of them work
I'm having trouble with the palette in Netbeans13. I've tried everything I can think of but nothing is working, I've looked at the. This is my last option to finding a solution.
I've used Netbeans13 on a previous pc of mine and this time when I installed Netbeans13 it did not show the palet. I'm busy working on a program and the palette would greatly simplify it for me.
[[](https://i.stack.imgur.com/uiCm9.jpg)](https://i.stack.imgur.com/9JWTJ.jpg)
As seen above even of I have a project open that I worked on using a previous pc it stil showed an empty palette.
Any advice would greatly be appreciated.
Tried the solutions to a similar probleme on Netbeans7.
I've googled the issue for a few days and came up with nothing that works.
I've tried using a solution from Apache and it did not work.
I've easily tried almost 15 to 20 solutions and none of them have worked.

Vscode integrated terminal accentuation not working?

I'm experiencing an issue on Vscode version 1.49.2, and that's not the first time that this is happening.
The accentuation on my vscode just stopped to work. I'm from Brazil, I need to type things like "Área de Trabalho", "Helicóptero", on the integrated terminal, but he just ignore that. If I type the accent and then hit space, it will work well, but will not accentuate the word.
I have read one by one configuration on vscode to try to solve that problem but nothing works. Someone have a solution for this case?
Thank's!

Can't find any log file explaining why Eclipse closes/crashes

After last Ubuntu 14.04 kernel update (current one: 4.4.0-36-generic) when I open Eclipse (Luna) in a matter of few seconds it closes or freezes and then closes (I can be simply editing a comment, or even stop typing for some seconds and then it happens, so I think it can't be related to the code itself).
I personally prefer when it freezes first, so it gives you some seconds to mentally prepare of what is about to happen with your last-hour work.
No clue on system.log or /.../my_workspace/.metadata/.log of what is happening.
Where could I look to try to understand what is happening?
Is it possible that Eclipse closes without leaving any clue/crash-report of why is it doing that?
After trying a lot of possible solutions because Eclipse was crashing every 10 minutes I've found this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465693
According to this bug report it is not an Eclipse problem but an Eclipse-JRE relationship problem.
Since I've modified several lines in eclipse.ini I cannot be sure about the solution, but it seems it was adding this line on it:
-XX:-UseLoopPredicate
I've been without crashes for more than 1 hour so far. However I'll wait at least one or two days before assuming this solution really works.
EDIT/UPDATE: Confirmed; it works like a charm.
Whenever eclipse crashes you will get hs_err_pid4612.log this kind of file
inside eclipse folder.
For fixing this issue :
Add this to eclipse.ini file:
-Dorg.eclipse.swt.browser.DefaultType=mozilla

Fatal error in ocaml-top level

Currently I'm using OCaml 4.01.0. The compiler ocaml-top ran well for the first time i installed. For few hours ago, i wrote a code which take an input from standard input, it crashed. I don't understand why but I checked with the compiler online, it worked fine!
And now when I open the compiler, an error appear:
Fatal error: cannot open implicit module "Pervasives"
Fatal error: exception Misc.Fatal_error
I also checked with emacs by typing:
Alt + x
run-caml
<press Enter>
still doesn't work! The error still appears. Could someone please help me to fix this? I'm a beginner in OCaml, I just started for few days.
Thanks in advanced!
I am using Eclipse, and I just solved the same problem- In Windows--> Preferences (or Mac's Eclipse --> Preference), go to OcalDE and its path. Make sure that you have the right paths. I forgot to put in my library path and that was why I had this problem. Hope this helps :p

Macro not working as expected in Notepad++

I just installed notepad++ and i am having some problems with macros in it.
i have a simple text file below:
hi
i am here
this is the third line
i kept the cursor at the first line before "hi".Now i selected start recording macro in the menu.i typed 'hi' before 'hi'(the actual word in the line) like below and pressed [Home] key in the keyboard and then pressed down arrow.Now i selected stop recording macro from the menu
hihi
i am here
this is the third line
but when i run the macro i am getting the following output
hihi
hˆi«i am here
hˆi«this is the third line
Could anybody please tell me where is the problem?
Upgrade to, at least, version 5.8.2 where that problem was fixed. I was experiencing the same problem, upgraded to version 5.8.5 and the problem is gone.
http://notepad-plus-plus.org/release/5.8.2
Fix macro recording bug for the non-ASCII characters.
same here as for Matt. For language, I was in normal text.
As mentioned in my comment at top, I have also been experiencing this same issue. Strange characters inserted when playing back a macro. This worked OK with previous versions, but appears to have been a bug introduced with version 5.7
It does appear to be an encoding issue. I have been able to workaround this issue by switching to UTF-8 encoding whilst recording the macro - as mentioned in the comment of this bug report.
This has been reported as a bug several times recently. Many are still open, however, one is reported as fixed. And is reported as fixed in the current release (5.8.2) - which also introduces several new features as regards macros. However, nothing later than v5.7 is yet available from the auto-updater within Notepad++ itself. However, you can manually download the latest installer from SourceForge.net.
I turned off the auto complete feature and this fixed the issue for me.
How do I stop Notepad++ from showing autocomplete for all words in the file
I had a problem, I typed in some code and it came out wrong in macro.
Then I neglected the advice to type the code and not paste it, and so I copy/pasted the code I needed and it worked fine.
So my advice: write it somewhere else and copy/paste when you start macro.