I have been asked a number of times that is it possible to write and edit Java code entirely from within the Visual Studio IDE? Thanks to Wayne Citrin, CTO at JNBridge who came up with an innovative upgrade of JNBridge’s namesake general purpose Java/.NET interoperability tool. A week earlier, the company unveiled the new Java. VS as a first-of-its-kind Java extension for several vulnerable software environments such as Microsoft.
According to CTO Wayne Citrin, Java.VS is an upgrade that supports all of visual studio’s essential features, including Intellisense, auto-completion, error-detection, debugging, compiling and building. It even supports Visual Studio source code control tools. Much like other JNBridge products, Java.VS can be used to build solutions for any industry or application. Moreover, development teams especially the ones who are currently making use of Visual Studio and all its Professional and Enterprise features can make use of Java.VS to develop integrated software.
The whole idea of coming up with this solution is not only to give Java developers the same familiar visual studio experience that C#, C++, F#, and Visual Basic developers get but also offer all the capabilities they expect in a Java IDE. He further revealed that professionals have been locked out of the features and benefits of visual studio. And with Java.VS, developers can access tools to work with any language in a single IDE so they can stay with one tool and don’t have to switch based on language. This release is only the beginning. Stay tuned for several exciting new features planned for upcoming releases.”- Said Wayne.
Before you code
Java as a language has signiﬁcant relevance in the outside world today. So, for those learning to code here is a set of the few things to consider.
#1. Before you start writing about a program. Make sure you work thoroughly on methods and procedures by hand on paper. In fact, you can even think of planning certain test cases. Take some time out in identifying certain cases that will represent boundaries or oddities. And be prepared with a plan before you start going anywhere near a computer
#2. After planning, sketch the structure of the whole code formally or informally. This step must be taken so that you have a full overview before fussing about exact syntax etc. By doing this you will exactly know what to expect that the computer will do. No matter how informal your initial sketch is, always remember the key word here is “structure”. This applies with way greater force when your code starts to grow.
#3. Concentrate on “What” and “Why” aspect of the code rather getting into the details of “how”. This will really help when you show your work to somebody else because sooner or later you need help!
#4. At least for the first version, favor clarity and obvious correctness over pretty well everything else. Clever tricks, worries about efﬁciency, generalizations etc can come later. In addition to this, neat consistent layout and thoughtfully named fields, methods, fields can be considered as a good investment of your time.
#5. In case, if you are working on a task that’s too big to solve in just one gulp look for ways of breaking it down into sub-tasks. As you do this you will start thinking of ways through which you will be able to test code for each sub-task and work on the whole thing step by step.
#6. While compiling the code, if you see a syntax error, make sure you do not panic. Try interpreting the compiler’s diagnostics and remove one error at a time.
#7. Once you have compiled your program, run it. Even if it gives wrong answers or behaves badly do not panic. Being a Java programmer, it’s always advisable to understand what is wrong and only after you have found where the problem is? Think about ways to ﬁt it. And yes, do not try any random changes!
#8. Whenever you find you are required to change your program review comments, don’t forget considering what exactly do you want and re-run all your test cases. Experienced people reveal that changes (for whatever reason) can give rise to new problems while you are in the process of ﬁxing old ones.
Coming back to the announcement, it comes as a flurry of activity and announcements around Java. In fact, it may quite interest you to know that JNBridge itself grabbed headlines in March when it added support for the new version of Microsoft’s Visual Studio tool suite to JNBridgePro 8.1 release.