ide

Folding/Collapsing functions and subroutines in Visual Basic 6

一世执手 提交于 2019-12-10 14:26:08
问题 Do you know if there's a way to fold/collapse functions and subroutines (and better yet: ifs and whiles) in the Visual Basic 6 IDE? At least with a plugin or something similar? I have to deal with files of thousands of lines sometimes and with no cropping it's just impossible (It's a very old app off course). Please note that it's not Vb.Net, it's VB6.0 Thanks! 回答1: No, in Visual Basic 6 IDE is no fold/collapse functions. What to do instead? Use Ctrl + Arrow Up or Ctrl + Arrow Dn for skipping

Why do we use fixed-width fonts in our IDEs? [duplicate]

余生长醉 提交于 2019-12-10 14:18:49
问题 This question already has answers here : Closed 9 years ago . Possible Duplicate: Why use monospace fonts in your IDE? Virtually all coders (and code editors) use fixed width fonts. Why is this? 回答1: ask those guys. 回答2: Probably because it makes the code easier to scan - you have "blocks" of code, ie. text that lines up vertically far more often than you would in normal prose. If the font is not fixed width than it wouldn't be visually aligned. 回答3: It greatly enhances readability -

Right clicking suddenly unbearably slow in VS 2010

。_饼干妹妹 提交于 2019-12-10 14:17:04
问题 I have been using VS2010 without any issues, always on the same application. Suddenly within the last my solution has become unbearably slow when right clicking. When doing other projects, it is fine. The only thing I can think of that I changed was disabling the SQL Server debugging. It happens if I right click anywhere within the code editor. Everything freezes for about a minute and a half, then the right click menu shows up. If I try again right away, the same thing happens. Intellisense

Embedded code development (especially for PIC with C18) in Visual Studio

為{幸葍}努か 提交于 2019-12-10 13:57:27
问题 I'm using Visual Studio for writing desktop applications, and I find it very user friendly and easy to use. If possible, I also want to write embedded code in Visual Studio. For example, is it possible to generate .hex files for PIC18Fxxx series with C18 or any other similar C-based language? 回答1: Unfortunately, there is no official support for PIC by Visual Studio. And, I didn't ever hear that someone has made this in an "unofficial" way. There have always been rumors and speculations about

Visual Studio SQL Server design and inline editing features missing

左心房为你撑大大i 提交于 2019-12-10 13:50:56
问题 In Visual Studio 2012 I have two database connections configured in the Server Explorer. One is for a SQL Server 2008 R2 database, the other is for a SQL Server 2012 database. I've always been able to make quick inline edits to the data with SQL 2008 databases by right clicking on the table and selecting "Show Table Data". I could then pop open the SQL pane and query the data, put a cursor directly in the field and edit the data in the result set. I relied on this method heavily when making

Non-line dependent conditional breakpoints

倖福魔咒の 提交于 2019-12-10 13:49:32
问题 Is it possible to set a breakpoint so that the program stops executing after an instruction has made certain condition true ? A class has a variable named currency and I want to make a breakpoint to make the program stop at any line after currency == 20 . I do not know the line number where currency is changed, so this would be like putting a breakpoint in every line of my class [ed. where currency gets changed]. Is there any way to accomplish that (besides adding a breakpoint at each line)?

Evaluate expressions during debugging in Visual Studio

僤鯓⒐⒋嵵緔 提交于 2019-12-10 13:36:17
问题 I am used to Jetbrains IDEA and Java, but now I have a project in .NET/C# and using Visual Studio 2017 (Community). If I debug code in IDEA, I can always run code when the execution is stopped at a breakpoint using the 'Evaluate Expression' function of the IDE: https://www.jetbrains.com/help/idea/evaluating-expressions.html (Although it is for PyCharm, the Java one works the same: GIF). Is there anything similar in Visual Studio? 回答1: I have the exact same issue. After researching I found the

Is there a “light version” IntelliJ IDEA to edit files WITHOUT a project?

拟墨画扇 提交于 2019-12-10 13:33:36
问题 ItelliJ IDEA can be called from command line on a single file - as described in here: Running IntelliJ IDEA as a Diff or Merge Command Line Tool Intellij like Text Editor (which BTW does not answer my question!) However, it seems that you have to provide IntelliJ with a project , as described here: Opening Files from Command Line In the command line, type the following: [IntelliJ IDEA] [path1] --line [number] [path2] where: [IntelliJ IDEA] is the platform-specific product launcher [path1] is

How to run external tool on current file in IntelliJ IDEA

坚强是说给别人听的谎言 提交于 2019-12-10 13:18:30
问题 I need to upload currently edited JSPs to server - via scp. I have pscp on my path on my windows machine. How do I setup inteliij idea to do this with one click for currently opened file? (I would be able to set this up in eclipse - via 'run tool' and parameter placeholders) 回答1: In IntelliJ IDEA this feature is called External Tools. There are various variables that you can pass to the process, including the current file name. 来源: https://stackoverflow.com/questions/13414544/how-to-run

Eclipse inserting arg0, arg1 etc. instead of proper parameter names when overriding Android methods

时光总嘲笑我的痴心妄想 提交于 2019-12-10 13:11:54
问题 When I override methods from the Android classes in Eclipse, I get useless parameter names like "arg0", "arg1" etc. For example when overriding methods from SQLiteOpenHelper I get: @Override public void onCreate(SQLiteDatabase arg0) { // TODO Auto-generated method stub } @Override public void onUpgrade(SQLiteDatabase arg0, int arg1, int arg2) { // TODO Auto-generated method stub } I've found various posts about this but none of the accepted solutions seem to work for me. It is also strange