Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[plug-in] Implement 'views' and 'viewsContainers' contribution points and Tree API #2498

Closed
3 tasks done
evidolob opened this issue Aug 2, 2018 · 1 comment
Closed
3 tasks done
Assignees
Labels
plug-in system issues related to the plug-in system Team: Che-Editors issues regarding the che-editors team

Comments

@evidolob
Copy link
Contributor

evidolob commented Aug 2, 2018

VS Code has views contributions.
Also registerTreeDataProvider and createTreeView methods should be implemented.

Sub task:

@evidolob evidolob added plug-in system issues related to the plug-in system Team: Che-Editors issues regarding the che-editors team labels Aug 2, 2018
@vitaliy-guliy
Copy link
Contributor

To test views and views containers add following section to package.json of plugin in contributes section

        "viewsContainers": {
            "activitybar": [
                {
                    "id": "debug",
                    "title": "Debug",
                    "icon": "resources/debug.svg"
                }
            ],
            "left": [
                {
                    "id": "package-explorer",
                    "title": "Package Explorer",
                    "icon": "resources/package-explorer.svg"
                }
            ],
            "right": [
                {
                    "id": "comments",
                    "title": "Comments",
                    "icon": "resources/comments.svg"
                }
            ],
            "bottom": [
                {
                    "id": "remote",
                    "title": "Remote",
                    "icon": "resources/remote.svg"
                }
            ]
        },
        "views": {
            "package-explorer": [
                {
                    "id": "package-dependencies",
                    "name": "Package Dependencies"
                },
                {
                    "id": "package-outline",
                    "name": "Package Outline"
                }
            ],
            "comments": [
                {
                    "id": "ann-comments",
                    "name": "Anna's Comments"
                },
                {
                    "id": "sun-comments",
                    "name": "Sun's Comments"
                },
                {
                    "id": "yevhen-comments",
                    "name": "Yevhen's Comments"
                }
            ],
            "remote": [
                {
                    "id": "remote-terminal",
                    "name": "Remote terminal"
                }
            ]
        }

@evidolob evidolob closed this as completed Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plug-in system issues related to the plug-in system Team: Che-Editors issues regarding the che-editors team
Projects
None yet
Development

No branches or pull requests

2 participants