ide

How to Display Current Function in Eclipse

泄露秘密 提交于 2019-12-03 09:36:10
I miss a certain functionality in Eclipse. I would like to know the name of the current function the cursor is currently inside. This is useful when browsing unknown code using the search function, for example. Any idea how to show it? Maybe a plugin? antoni.rasul I'm using the "Toggle Breadcrumb" option from toolbar: It shows a nice breadcrumb, ending with current function name. It's quite handy for me, as Outline becomes cumbersome to use if you have zilions of functions. It produces the following structure above your Java Editor (truncated at the picture below): Pascal Thivent The "Outline"

VScode 配置为 LaTeX IDE

点点圈 提交于 2019-12-03 09:36:10
VScode 配置为 LaTeX IDE 安装扩展 ctrl+shift+x 调出应用商店,搜索并安装如下扩展: LaTeX Workshop ; pdf-formatter LaTeX Preview 配置 LaTeX Workshop LaTeX文件 .tex 的编译、预览、辅助文件的清理等都在扩展 latex workshop 中设置。 LaTeX Workshop 中,编译LaTeX文件时顺序执行的一系列/组命令称为LaTeX食谱(recipes),定义在 latex-workshop.latex.recipes 。缺省情况,LaTeX Workshop包含2个基本的食谱,分别由 latex-workshop.latex.recipes 和 latex-workshop.latex.Tools 定义。第一个食谱的 tools 域中的工具定义在第二个食谱。 latex workshop 的参数含义见 LaTeX Workshop 的配置文件"package.json"或 https://github.com/James-Yu/LaTeX-Workshop/wiki/Compile#latex-recipes 了解配置情况。 LaTeX Workshop 默认的编译方式为 latexmk 和 pdflatex 。如下配置修改了 latex workshop 的编译方式、预览

Change number of Recent Projects displayed on VS2010 Start Page

落爺英雄遲暮 提交于 2019-12-03 09:20:25
Ok, I had VS2010 Start Page set up to display 20+ projects in the Recent Projects section, but while I was messing around with theming and importing/exporting settings I seem to have reset it back to its default of 10, and I can't locate where that setting is. Does anyone know where the setting for number of recent projects on the start page , not the File menu, is located? I've changed the values in tools\options, environment to be 24 (the maximum) for both items in the recent files section of that page of settings, but alas this does not affect the start page. TIA Marek Karbarz The setting

How to automate new gmail UI to send email by using Selenium IDE?

强颜欢笑 提交于 2019-12-03 09:09:42
The current gmail UI has changed, it opens in a pop up DIV and the ID parameters are changing for each new compose window. Can anyone try to give me the code? You can do all using XPath (find using By.xpath("xpath expression") ): Open the gmail page Login as usual Click on compose button (its XPath expression: "//div[text()='COMPOSE']" ) (The email dialog will pop up) Type (send keys) the addesses in the "To" text area: "//textarea[@name='to']" Type (send keys) the subject to the "Subject" input: "//input[@name='subjectbox']" Type (send keys) the email content to the editable div: "//div[

How do I fold code for comment blocks inside method blocks?

天涯浪子 提交于 2019-12-03 09:00:56
问题 How can I fold comment blocks inside method blocks to be folded (outlined), just like methods and regions, etc.? 回答1: Select the block that you want to hide Ctrl + M + H This needs to be done only once. The block will become collapsible afterwards. 回答2: Edit + Outlining + Start Automatic Outlining. 回答3: I think it might be right... 도구 > 옵션 > 텍스트 편집기 > C/C++ > 서식 > 개요 > 문 블록에 개요 사용 : True --> 모든 블록에 folding/unfolding 사용 가능. Tool > Option > Text Editor > C/C++ > Form > Outline > Use statement

show function parameters in vim

女生的网名这么多〃 提交于 2019-12-03 09:00:44
问题 Is there a way in vim to get a popup window with function parameters? (like in visual studio / slick edit) e.g. when i type "function_name(" vim will open a popup window (like when doing ctrl-n in new versions) and show me the function parameters and which one of them I'm currently typing. p.s. I'm looking for something a bit more comfortable than ctrl-w ctrl-] I'm also looking for a similar functionality that will show me list of available members when typing "var->" or "var." I'm using C

Tools and best practices to understand somebody else's code [closed]

旧巷老猫 提交于 2019-12-03 08:54:10
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Sometimes one needs to dig into someone else's code, understand it and maybe refactor/fix it. So I'm wondering what tools/practices do you use to do that? It's not about any specific language or platform, rather some advises in general. I myself find it very useful to run the code in question under debugger (if it is possible of course), set breakpoints and step through the code.

How to disable the Issues pane in Qt Creator?

自作多情 提交于 2019-12-03 08:37:25
I find it easier to work with compiler output but the Issues pane in the Qt Creator pops up automatically after every compilation, hiding the useful information, forcing me to hide it every time. Is there a way to disable this behavior? I don't mind the errors being collected, I just don't want this particular piece of UI to show up every time when I don't ask for it. I'm using the Qt Creator 3.5.0 but it was like that in the earlier versions, too. click by last icon arrow up/down will get checked list of panes, here I can made unchecked Issues pane. https://picasaweb.google.com/lh/photo

The application is in break mode - Unable to determine cause

蓝咒 提交于 2019-12-03 08:35:09
问题 I'm experiencing that the IDE breaks sometimes when my application terminates. When this occurs, the call stack is empty, and the thread list shows some threads which don't reveal any information to me. When I choose "Debugger"-"Step into", the IDE quits / terminally seemingly normally, so I don't see how I could further investigate what causes the breaking. Clicking "Check for running Tasks" doesn't display any tasks. Clicking "Continue executing" quits debugging seemingly normally. Clicking

Visual Studio 2008 - jump to line number shortcut

99封情书 提交于 2019-12-03 08:31:52
问题 I can go to a specific line number by double clicking in the status bar in Visual Studio. Is there a keyboard shortcut that does the same thing? 回答1: Ctrl + G Check out all the keyboard shortcuts at: http://www.microsoft.com/downloads/details.aspx?familyid=e5f902a8-5bb5-4cc6-907e-472809749973&displaylang=en 回答2: Ctrl + G works for me. If it doesn't work for you, you can always map whatever shortcut you want under Tools | Options | Environment | Keyboard. EDIT: Yes, as @Brian mentions, the