code-completion

How to implement content assist's documentation popup in Eclipse RCP

一曲冷凌霜 提交于 2019-12-21 05:38:14
问题 I have implemented my own editor and added a code completion functionality to it. My content assistant is registered in source viewer configuration like this: public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) { if (assistant == null) { assistant = new ContentAssistant(); assistant.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); assistant.setContentAssistProcessor(getMyAssistProcessor(), MyPartitionScanner.DESIRED_PARTITION_FOR_MY_ASSISTANCE);

gccsense vs. clang_complete

末鹿安然 提交于 2019-12-20 09:38:39
问题 I've been using omniCppComplete + ctags for a while, and want to make a further improvement on the code completion. According to the suggestion in here [1], gccsense and clang_complete seems to be alternatives. However, I am not sure which one is better. Any idea on their performance? Thanks! Update: After I tried clang_complete, I found the completion speed extremely unacceptable. I then tried it using libclang.dylib, which speeds up a lot but still make one feels lagging. I think I should

Vim's autocomplete is excruciatingly slow

二次信任 提交于 2019-12-20 07:59:12
问题 Most of the time the autocomplete feature in Vim works nicely for me, but sometimes it seems to be scanning files which the current file references, and then it becomes painfully slow, sometimes taking several seconds to release focus back to me. Sometimes Vim tells me simply that it is "Scanning" other times, it's saying "Scanning tags" I've only this happen in Ruby files, and it happens mostly when there is a require in the file. My guess would be that this is some kind of feature which

How to disable RubyMine code completion after comment line ending in period?

限于喜欢 提交于 2019-12-20 04:34:14
问题 I am using RubyMine 6.3.2. When I type the following line and press return/enter: # This is a comment. the editor inserts additional text, resulting in: # This is a comment.after() do end I understand that this happens because "aft" is the first item on the dropdown that appears after typing ".". I can preventing the insertion by pressing space after return/enter, but that adds a space to the end of the line, and I have to remember to do it. Is there a way to disable code completion within

How to get code-completion for COM programming in PyCharm?

柔情痞子 提交于 2019-12-19 04:00:20
问题 When using app = win32com.client.Dispatch('Some.Application') , is there any feasible way get code-completion in PyCharm? It is rather tedious having to retype (or copy-paste) everything from an API documentation, so would creating skeletons be. Is there no other way to let PyCharm know about the Interface provided via COM, especially if I can provide a .tlb file? Or is there at least some way automatically generate such a skeleton (or a wrapping module?) from the TypeLib? 回答1: Since there is

Delphi code completion performance [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 12:46:16
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I have a few large (~600k lines of code) Delphi projects. They include some custom components which our team has developed. Often, when I call up code completion with ctrl+space or just by pressing ".", the IDE locks up and thinks really hard for a long time. Sometimes the delay

Wanted a tool for decompiling obfuscated .NET code

大憨熊 提交于 2019-12-18 12:44:08
问题 I need a tool to decompile obfuscated .NET code. Yes, I know about Reflector and its plugins (FileDisassemble, FileGenerator). But they create VS project which won't compile. For an example the decompiled code contains: private sealed class d__0 : IEnumerator, IEnumerator, IDisposable { private int <>1__state; private int <>2__current; I need a tool which could rename automatically such name into readable (read "compilable") form. Thnx. 回答1: Salamander .NET Decompiler Xenocode Fox 回答2: I've

Xcode 6.3 code completion too slow

孤人 提交于 2019-12-18 10:12:31
问题 I've just updated Xcode to version 6.3. I'm working on a project in Swift with some imported Objective C code. I also use Cocoapods. I had the same issue with the Xcode 6.3 beta. I've seen and tried all other StackOverflow answers with no luck. So far I've tried to: Delete ~/Library/Developer/Xcode/DerivedData and ~/Library/Caches/com.apple.dt.Xcode with Xcode and/or Mac restart. Uninstall Spotify. Not use the "+" concatenation operator. Set deployment's target to 8.1. I should mention that

Spyder does not autocomplete local variables

混江龙づ霸主 提交于 2019-12-18 10:06:08
问题 I'm having a problem getting my local variables autocompleted. This is a very basic functionality which I'm sure it should support. When I'm starting to write a variable name which was already declared, and press TAB (this is the default shortcut), I get nothing. Is this a bug? 回答1: ( Spyder dev here ) Spyder does complete local variables but to have this functionality you need to install a library called rope . You can do it by running this command in a terminal pip install rope If you use

Properties of new tags using composite component are not displayed by Eclipse auto complete shortcurt

吃可爱长大的小学妹 提交于 2019-12-18 07:45:49
问题 I have developed composite components using JSF 2.0 in Eclipse. I've been putting my XHTML tag files inside resources folder. When I hit ctrl + space in keyboard, the property of the tag are not displayed. I found some tips told to install "Jboss tools" but didn't work. <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:cc="http:/