Configure NetBeans Formatter - angularjs

I'm having a problem with netbeans code formatter when I use AngularJS, specially in one case.
When I use this rule: ng-class="(status.index >= $index)?'btn-success':'btn-default'" and I proceed the code format (alt+shift+F) it changes to ng-class="(status.index >= $index)?'btn-success':'btn - default'" (with spaces) and bug the functionality of the class.
The only way to I fix this is changing the way I do the ng-classor there is any way to I fix this rule in NetBeans configurations?
I appreciate your time reading this, ty all

A possible solution is to install a new theme.
I installed the atom font and colors, which solved the problem. This means that it could be solved only by configuring the IDE, although I don't exactly know what.
I hope this can help You.

Related

React Visual Studio Code shows red brackets while code is correct

This is very simple component I built throughout the course I take (Recently I've started learning React). This "error" only occures when I add a dollar sign inside a <div></div> in combination with {}. Since the code runs without any errors in the Node.js environment, why is my IDE behaving that strangely? I think there might be something wrong with the settings, but it's only my assumption. Have someone had this issue before or maybe know how to solve it? It's kinda frustrating for me, especially when I'm just learning the framework and the IDE shows mistakes in the places where there are no mistakes.
I just found a solution. It was Bracket Pair Colorizer 2 extension. After disabling it the problem is gone.

Can't open/create my Salesforce projects with Mavensmate anymore

I used to connect my Salesforce projects without any problem since today.
Now everytime I want to create or open a new project through Mavensmate. I get this error :
Error initializing project: client identifier invalid
I don't know how to solve it. I have googling without finding any solution. I thought this could solve my issue, but it doesn't work.
Please help!
Not sure if this is related or already said but it sounds like MavensMate has finally died. Related conversation/details here. If I knew how to build the windows version of the MavensMate source I'd try myself but seems like there is a security issue that would have to be applied too which I don't have time for (plus possibly out of my expertise reach).
So I'm now biting the bullet and starting the move from Sublime to VS Code using a couple different articles (here and here). Pretty sad about this but seems no other way. If possible I'll loop back to Sublime in the future but no idea if that will be feasible or not. If anyone finds a fix for MavensMate or a new way to do SFDC work in Sublime please let us know!

is there a way to add patch version in CN1 version number

To my knowledge CN1 does not allow to keep patch version in the Version number. Please advise if there is a way I can do it.
Thanks
Codename One only supports decimals because Android and iOS handle versioning very differently. It's really hard to create common code that works everywhere that's still easy to use.
As a workaround you can use the build hint ios.bundleVersion=1.1.1. Notice that this overrides the version value you set in the UI.

sublime text 2 cursor is highlighting the next character... why?

i fat-fingered something in my editor and i don't know why this is happening! somebody please help me.
I was having the same problem today.
Problem was definitely the BlockCursor plugin. That somehow got installed w/o me realizing it. I can't believe I fat-fingered enough keystrokes to install that; I would never intentionally install a plugin that did that;) Got installed somehow, tho.
Disabling it fixed problem.

Working comfortably in C using Eclipse

Umm, I've been using Eclipse for Java development and I am trying to use it now for making C apps.
The problem is that I don't feel too comfortable with it. Namely:
I need to include headers by hand, i.e. not automatically.
I've never seen a 'quickfix' to be available for any problem.
I can't spot the problem before it has been compiled.
Any ideas on how I could make myself feel a bit better?
Sorry if my questions are rather stupid, but getting the way down from Java to C is rather hard on me.
Thanks!
Yeah its a little harder to go from Java to C, Java didn't exist when I was programming C.
Some comments:
Automatically including headers is difficult in C
See #include headers in C/C++
You could use lint to catch some errors...
http://syncor.blogspot.com/2010/03/using-lint-in-eclipse-with-netburner.html
Consider doing TDD using something like gTest, and automate your build process.
http://www.slideshare.net/amritayan/test-driven-development-in-c, might help you develop a different rhythm.
gtest in Eclipse ... https://github.com/ospector/gtest-gbar
Have fun!
On Mac OS XCode is an option.
On startup:
New Application -> Command Line Tool ->Type C
And Bob is your proverbial (aunty).
You get all the XCode short cuts & hit ESC in your editor window for code completion.
Hmmm.... think I'll start using it actually. ;-)
re:
I can't spot the problem before it has
been compiled.
You can get immediate feedback on syntax errors. They show up as question marks in the left gutter and yellow squiggly lines under the error. This happens immediately. Make sure under Window->Preferences-General->Editors->Text Editors->Annotations that you have the "Show in" checkboxes checked for the C/C++ Indexer Markers and C/C++ Occurrences.

Resources