<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Original IntelliJ Cast</title>
	<atom:link href="http://blogs.jetbrains.com/idea/2009/08/original-intellij-cast/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/idea/2009/08/original-intellij-cast/</link>
	<description>tips &#38; tricks, news, how-to's</description>
	<pubDate>Mon, 13 Feb 2012 07:49:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Peter Gromov</title>
		<link>http://blogs.jetbrains.com/idea/2009/08/original-intellij-cast/#comment-115170</link>
		<dc:creator>Peter Gromov</dc:creator>
		<pubDate>Fri, 28 Aug 2009 09:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=1543#comment-115170</guid>
		<description>I agree, that code completion needs attention, and let me assure you, it gets that attention. After all, we use it ourselves, and we surely want it to be powerful enough to develop IntelliJ IDEA with pleasure.
I'll consider the non-casting conversion you mentioned, although they may be very application-specific. Maybe there's a place for some user customization here.</description>
		<content:encoded><![CDATA[<p>I agree, that code completion needs attention, and let me assure you, it gets that attention. After all, we use it ourselves, and we surely want it to be powerful enough to develop IntelliJ IDEA with pleasure.<br />
I&#8217;ll consider the non-casting conversion you mentioned, although they may be very application-specific. Maybe there&#8217;s a place for some user customization here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaclav Slovacek</title>
		<link>http://blogs.jetbrains.com/idea/2009/08/original-intellij-cast/#comment-115166</link>
		<dc:creator>Vaclav Slovacek</dc:creator>
		<pubDate>Fri, 28 Aug 2009 08:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=1543#comment-115166</guid>
		<description>Thanks Peter for the info. What I wanted to say is that there is still a lot of space for improvement/experiments in code completion. I'm not sure whether approach I mentioned would be better for users as until it gets tested by real users you usually don't know. I realize there might be problems when there is a method call in the middle that requires parameters etc.

I believe that code completion should get some attention and maybe thinking over several approaches to choose the most intuitive. Code completion is in IDEs for ages and I have to admit that Idea is pretty good in it.

What I could imagine in basic code completion for example when pressing Alt+Enter when choosing the proper item from the popup IntelliJ would retype the chosen variable to required type.

For example I have a method that requires integer but I have chosen long. Then I get something like setInt((int) autocompletedLong); or something smarter like setInt(Integer.parseInt(autocompletedString)); ... I mean there is a lot of area for research.

Sorry for just brainstorming ideas, I just tried to show that code completion might be eventually improved, because it is simply the most often used feature.</description>
		<content:encoded><![CDATA[<p>Thanks Peter for the info. What I wanted to say is that there is still a lot of space for improvement/experiments in code completion. I&#8217;m not sure whether approach I mentioned would be better for users as until it gets tested by real users you usually don&#8217;t know. I realize there might be problems when there is a method call in the middle that requires parameters etc.</p>
<p>I believe that code completion should get some attention and maybe thinking over several approaches to choose the most intuitive. Code completion is in IDEs for ages and I have to admit that Idea is pretty good in it.</p>
<p>What I could imagine in basic code completion for example when pressing Alt+Enter when choosing the proper item from the popup IntelliJ would retype the chosen variable to required type.</p>
<p>For example I have a method that requires integer but I have chosen long. Then I get something like setInt((int) autocompletedLong); or something smarter like setInt(Integer.parseInt(autocompletedString)); &#8230; I mean there is a lot of area for research.</p>
<p>Sorry for just brainstorming ideas, I just tried to show that code completion might be eventually improved, because it is simply the most often used feature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Gromov</title>
		<link>http://blogs.jetbrains.com/idea/2009/08/original-intellij-cast/#comment-115140</link>
		<dc:creator>Peter Gromov</dc:creator>
		<pubDate>Thu, 27 Aug 2009 17:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=1543#comment-115140</guid>
		<description>Vaclav,

In fact the Class name completion (Ctrl+Alt+Space) is available via second Ctrl+Space in Java. So you may choose between just the two completions: Basic and Smart. It may be easier.

As for separate shortcuts for completion stages, it's not scalable. A more appropriate solution to me seems as follows: leave the current behavior with possibility not to autocomplete the only variant from the first invocation. Then there'll always be a single key sequence to invoke second completion. For example, you'll just press Ctrl, Shift, Space (lookup won't close at this stage), Space again, then release Ctrl and Shift and you'll get the variants from second completion.</description>
		<content:encoded><![CDATA[<p>Vaclav,</p>
<p>In fact the Class name completion (Ctrl+Alt+Space) is available via second Ctrl+Space in Java. So you may choose between just the two completions: Basic and Smart. It may be easier.</p>
<p>As for separate shortcuts for completion stages, it&#8217;s not scalable. A more appropriate solution to me seems as follows: leave the current behavior with possibility not to autocomplete the only variant from the first invocation. Then there&#8217;ll always be a single key sequence to invoke second completion. For example, you&#8217;ll just press Ctrl, Shift, Space (lookup won&#8217;t close at this stage), Space again, then release Ctrl and Shift and you&#8217;ll get the variants from second completion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaclav Slovacek</title>
		<link>http://blogs.jetbrains.com/idea/2009/08/original-intellij-cast/#comment-115095</link>
		<dc:creator>Vaclav Slovacek</dc:creator>
		<pubDate>Wed, 26 Aug 2009 19:15:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/?p=1543#comment-115095</guid>
		<description>Nice to see that code completition gets some more attention. I personally think, that it is one of the most important features as it is used very often. I miss functionality of CodeCompletionLive plugin that is no longer working in Idea 8 as I prefer pressing just one shortcut and choose the most logical option according to context. I don't like thinking about what type of completion is appropriate in which situation.

Recently I found out that maybe it would be interesting to create different shortcuts for different depth in reference hierarchy and always use smart type. For example:
shortcut 1: name, getName(), Person
shortcut 2: person.getName(), Person.NAME, Person.create()
shortcut 3: person.getFriend().getName(), Person.getName().substring() 

If the shortcuts were one next to each other like F10, F11, F12 it might work as a developer I know for example, I usually know that I have to call person.getName() already when writing person.

I'm not sure whether I have described the idea in an understandable way. Hopefully.</description>
		<content:encoded><![CDATA[<p>Nice to see that code completition gets some more attention. I personally think, that it is one of the most important features as it is used very often. I miss functionality of CodeCompletionLive plugin that is no longer working in Idea 8 as I prefer pressing just one shortcut and choose the most logical option according to context. I don&#8217;t like thinking about what type of completion is appropriate in which situation.</p>
<p>Recently I found out that maybe it would be interesting to create different shortcuts for different depth in reference hierarchy and always use smart type. For example:<br />
shortcut 1: name, getName(), Person<br />
shortcut 2: person.getName(), Person.NAME, Person.create()<br />
shortcut 3: person.getFriend().getName(), Person.getName().substring() </p>
<p>If the shortcuts were one next to each other like F10, F11, F12 it might work as a developer I know for example, I usually know that I have to call person.getName() already when writing person.</p>
<p>I&#8217;m not sure whether I have described the idea in an understandable way. Hopefully.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

