In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what's the difference between Java and .NET development process". The explanation in this article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "what's the difference between Java and .NET development process?"
1. After a variable field is selected, the background colors of the other fields are automatically highlighted to make it easy to see where the variable is used. VS2010 did not have this feature before.
2, for a curly braces or parentheses of the code segment, double-click after the symbol, automatically select the brackets inside the code snippet, which is convenient to view a code snippet, VS does not have such a function.
3. MyEclipse does not have the same code snippet area as # region,#endregion in VS. In a method or class, you can # region function points. Endregion folds the code snippet in this way, and MyEclipse can't achieve this effect unless you use some other plug-ins.
4, Ctrl+alt+t and Ctrl+alt+r keyboard shortcuts, this shortcut key in MyEclipse is very useful, you can quickly find the workspace type or resource, you can quickly fuzzy match to find files or a certain type of file, but VS does not find such a function.
5. MyEclipse intelligent reminder is relatively simple by default, as long as it is entered. After the automatic reminder, in the window- > preferences- > Java-Editor- > ContenetAssist tab in the Auto-Activation box AutoactivationtriggersforJava can be set to .abcdefghijklmnopqrstuvwxyzABCDEFGHIJLMNOPQSTUVWXYZ, after this setting, enter any letter in the MyEclipse can prompt, but it is case-sensitive, unlike VS enter lowercase a can also intelligently prompt the type of variables starting with uppercase A.
6. MyEclipse often encounters coding problems, which is very inconvenient for beginners. It can be divided into two cases: file opening garbled, and submitting request Chinese content garbled. When the workspace includes multiple projects, it is possible that one project is encoded with GBK, and the other is UTF-8, which will lead to a single file garbled, set the entire project code in Window- > Preferences- > General- > Workspace select the Other setting in Textfileencoding, and select the Other setting in Textfileencoding in Project right-click Properties- > Resource for individual projects. For JSP and other submission requests, the default encoding is ISO-8859-1, which often leads to garbled codes. You can set the encoding of different files in Text in windows- > Preferences- > general- > ContentTypes. But VS does not have so many garbled problems, and it is not easy for beginners to have garbled problems.
What are the differences between Java and .NET development processes?
7. MyEclipse will often prompt memory overflow and other related memory problems, which is also confusing for beginners. It is often caused by insufficient default configuration of memory. Modify the configuration parameters under-vmargs in myeclipse.ini. For example,-Xmx912m means maximum allocation of heap memory 912M MaxPermSizememory 556m means maximum allocation of non-heap memory 556m, which can make MyEclipse memory available. However, some memory overflows may be caused by JVM memory overflows, so you need to set the memory parameters of JVM separately. In window- > preferences- > Java- > InstalledJRE, select the default JDK, then select Edit, and configure the relevant parameters in DefaultVMArguments. If the program you are running is a WEB program, you may also need to set the memory settings for Tomcat. Go to window- > preferences- > MyEclipse- > Servers- > Tomcat, select the corresponding version of Tomcat, then select the JDK node inside, and set the memory parameters in OptionalJavaVMarguments. Relatively speaking, VS will not be so troublesome to deal with, generally do not have to set memory parameters.
8. When debugging code, VS appears to be more powerful than MyEclipse. They can modify the values of existing variables at breakpoints, but VS can also intelligently prompt their own code when entering variables in the monitoring temporary variable box, while MyEclipse cannot automatically remind them, and VS can drag breakpoints to running code. This function is very powerful and useful when debugging problems. But MyEclipse cannot drag breakpoints.
9. The default Ctrl+ left click can quickly locate the definition of the field or type, just like F3, but I think it is easier to develop the ctrl+ left button, which is more convenient than the default F12 quick positioning in VS. Moreover, after it integrates Spring, the Ctrl+ left button can choose to locate to the sub-implementation code of the injection interface, so you can easily view the implementation code, while VS uses Spring.net integration. This function is not provided.
10. Right-source in MyEclipse, which can have many convenient functions, such as generating getter,setter and inheriting interface parent methods.
11. The JAVA project is opened by import, not by double-clicking the .sln or .csproj file in VS. But after opening it once, and next time you open MyEclipse, it will automatically load the project that has already been opened. VS can only open one solution at a time, and the solution includes different projects. If you add a new solution, you will need to open it separately next time.
12. MyEclipse imports a new project. If the JRE version is different, you need to use the local JRE version. Right-click the project-> BuildPath- > ConfigureBuildPath- > Libraries- > JavaBuildPath to modify the JRE version, but sometimes there will be compilation problems, because you do not select the compiled JDK version, and the project right-> BuildPath- > ConfigureBuildPath- > JavaCompiler modifies Compilercompliancelevel. For VS, it is convenient for high-version code to open lower-version code and upgrade automatically, or to manually select which version to compile under. Net.
13, MyEclipse double-click the Tab column of the file in the code editing box, you can switch between full-screen code editing block and multi-box display, which is a little more convenient than VS. There is a LinkVithEditor button next to the PackageExplorer box, which can quickly locate the location of the file in the package, which is also more convenient, but after right-clicking a file in VS, you can directly choose to open the corresponding physical file directory. There is no this function in MyEclipse.
Thank you for your reading, the above is the content of "what is the difference between Java and .NET development process". After the study of this article, I believe you have a deeper understanding of the difference between Java and .NET development process. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.