This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258323

Summary: Code completion for Docker files
Product: docker Reporter: Geertjan Wielenga <geertjan>
Component: EditorAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal CC: arungupta, markiewb, phejl
Priority: P2    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description Geertjan Wielenga 2016-03-11 09:35:02 UTC
Please include code completion, in addition to what is already there for Docker files, i.e., syntax coloring -- in other words, we have already a lexer infrastructure, should be usable for code completion too.
Comment 1 Tomas Zezula 2016-03-11 09:54:39 UTC
The Dockerfile is a container language (no grammar exists).
Basically the Docker understands just the command and rest it context dependent.
In case of cmd, run everything what follows is just an opaque string which may be
anything UNIX shell, PowerShell, DCL, ruby, ....
The code completion can offer the 10 docker commands which everyone knows.
Seems quite useless to me.
Comment 2 Geertjan Wielenga 2016-03-11 09:56:52 UTC
What are those 10 commands? I'm curious, I'm sure others new to Docker are curious too, would be great to have them in code completion for that reason.
Comment 3 Tomas Zezula 2016-05-23 15:29:47 UTC
Fixed jet-main 62ebfcf339fb
Comment 4 Quality Engineering 2016-05-25 01:51:18 UTC
Integrated into 'main-silver', will be available in build *201605250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/62ebfcf339fb
User: Tomas Zezula <tzezula@netbeans.org>
Log: #258323:Code completion for Docker files