From e928a0f37ce23a098a4ed05047fe0526c2dd1abf Mon Sep 17 00:00:00 2001 From: Manindra Moharana Date: Mon, 15 Jul 2013 00:16:16 +0530 Subject: [PATCH] todo updates --- pdex/Todo, GSoC 2013.txt | 6 +++++- pdex/src/processing/mode/experimental/ASTGenerator.java | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pdex/Todo, GSoC 2013.txt b/pdex/Todo, GSoC 2013.txt index 6b8bb497a..3ef1036bd 100644 --- a/pdex/Todo, GSoC 2013.txt +++ b/pdex/Todo, GSoC 2013.txt @@ -28,8 +28,10 @@ x Differentiating between multiple statements on the same line. How to? Done wit * - Add a static debug field, disable debugging info on console. * - update build.xml to produce dists * - Make this a contributed mode - mode.txt, github releases feature, version numbering, git tags, etc +* - Parameterized type support is broken. Finer details + x! - Ignore String case while finding completion candidates x - Multiple 3rd party classes found in various packages. Not a chance no more. x Obj a1; a1.-> completion doesn't work before it is instantiated. Look into that. Began working again by itself. Yay! @@ -89,4 +91,6 @@ Suggestion for missing imports ============================== 1. In compileCheck() in ECS, check if error message is of the type "__" cannot be resolved to a type. 2. Find the class name via astGen, and suggest import as a popup. - +x Barebones functionality done. +* Find a more subtle way to suggest for imports. The current method is too troublesome. +x Add imports only to beginning of first tab. diff --git a/pdex/src/processing/mode/experimental/ASTGenerator.java b/pdex/src/processing/mode/experimental/ASTGenerator.java index 9a7bfc28f..7183f6755 100644 --- a/pdex/src/processing/mode/experimental/ASTGenerator.java +++ b/pdex/src/processing/mode/experimental/ASTGenerator.java @@ -2818,7 +2818,7 @@ public class ASTGenerator { try { String impString = "import " + classList.getSelectedValue() + ";\n"; - int ct = editor.getSketch().getCurrentCodeIndex(), coff = editor.textArea().getCaretPosition(); + int ct = editor.getSketch().getCurrentCodeIndex(); editor.getSketch().setCurrentCode(0); editor.textArea().getDocument().insertString(0, impString, null); editor.getSketch().setCurrentCode(ct);