A little trick to use the. Net IDE

Source: Internet
Author: User
Tags linux sharpdevelop
Skills

I worked with a couple of classmates on a project that was small and didn't use any version management system. In order to let others know where they have changed, we have to add a comment on the source code where we have modified it. But everyone's annotation styles are different and it's inconvenient to find them. Then I found a simple solution: Add a comment with a unified start character (such as "MODIFY") at the change point:

' MODIFY Xiao Li 2005-6-22 correcting a bug that an exception occurred when the connection string was empty

......

' MODIFY Xiao Wang 2005-6-23 add access interface

......

Then in the Vs.net Tool-Options dialog Environment-the task list to add "MODIFY" this comment mark, and in the Vs.net on the Task List tab, right-click, set the display task as a whole, you can quickly navigate through the task list to the source code of the change point.

[Vs.net] View two copies of the same file within the same label page

When we write a program, we often refer to the other parts of the same file. The vs.net can easily view two copies of the same file within the same tab by dragging the small rectangle above the scroll bar of the form with the mouse down, and the same file can be rendered in two subforms, and their updates are synchronized. (Note: This is a common method for Microsoft and can be used in Word and Excel.)

[SharpDevelop] Vb. NET and C # code are converted to each other

We're in the making. NET programming often encounters situations where you want to convert vb.net and C # code into one another. I've been searching the internet for gadgets that are either online or charged and unsatisfactory. The fact that there is a free choice is the famous GNU. Net Ide--sharpdevelop (The version I am currently using is 1.1.0), and its Tools menu has vb.net and C # code conversion functions. The conversion effect is generally good, but there are a few problems (such as vb.net to C #, call the method without parameters, does not automatically add parentheses), but it is more convenient than manual conversion. You might as well try.

[Mono] FC4 ignore dependencies, quickly install mono

Under Linux to play. NET programming seems cool, I also follow suit, download a set of Mono (RPM for FC3 version), a decompression, a number of folders a total of dozens of RPM, do not know who should be installed first. Several tests were installed, always saying that no dependencies were found. My system is FC4, it is designed for FC3, the problem should not be small, simply regardless of the rpm dependency, put all the rpm in a folder, an ancient brain to use the method of ignoring dependencies to install:

Rpm-i *--nodeps

How did it turn out? Try the installation of a good monodevelop, compiled a simple program, and imported a vs.net console project, the operation is normal!

But then there was time, I took a closer look at these rpm dependencies and found two problems: the XSP in charge of webserver needs some Linux server dependencies, not in FC4 's default installation, reloading xSP, adding FC4 DVD, completing Mono-data-sqlite need to Libsqlite, but I did not find it, Internet search, it is the name as a lightweight SQL software package, their temporary use, do not install it!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.