| Summary: | Code Assist not working for project names containing a colon | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] DLTK | Reporter: | Ingo Renner <ingo> | ||||||||
| Component: | Common | Assignee: | dltk.common-inbox <dltk.common-inbox> | ||||||||
| Status: | NEW --- | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P1 | CC: | ganoro, ingo, jacek.pospychala | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | Macintosh | ||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Ingo Renner
The "EXT:" notation is quite common for TYPO3 extension projects, being EXT an abbreviation for extension, followed by a colon, followed by the extension name "colon" is an invalid character in a project name. So how did you input a colon into a project name? Created attachment 181072 [details]
screenshot
hi Xu,
I can easily create PHP project with colon. Not sure why you can't.
Ah, Ingo seems to be using Mac. So this may be OS-specific. Mac and Linux should allow ":" in project name, whereas Win will not allow it. I remember it might not have allowed me to create project containing a colon in the name, but it definitely allowed me to put a colon in the name when renaming the project... I could rename to xxx:,and I will try to fix this bug under linux. Created attachment 195808 [details]
screenshot / project name is "php:test"
Probably the immediate cause is
org.eclipse.dltk.internal.core.Model.getTarget(IContainer, IPath, boolean)
This method cannot handle the project name which contains ":", since the part of project name before IPath.DEVICE_SEPARATOR is considered as a device.
The path of project should be constructed with Path(null, project_path), maybe...
Created attachment 199540 [details]
patch
move to dltk,the patch is not fully tested. |