Giter Site home page Giter Site logo

protobuf-dt's Introduction

Hi there, I'm Damiaan ๐Ÿ‘‹

Software Engineer ๐Ÿ‘จโ€๐Ÿ’ป

Interests: ๐ŸŽฎโšฝ๐Ÿบ๐Ÿ–

protobuf-dt's People

Contributors

alexruiz avatar wanghy avatar zynn avatar

Watchers

 avatar

protobuf-dt's Issues

Fix qualified names

I haven't figured out what is the correct way to handle qualified names yet. I 
need to follow what protoc considers valid.

I'll update this issue once I have the answer.

Original issue reported on code.google.com by [email protected] on 21 Apr 2011 at 12:24

Resolution of "Import URIs" does not work if such URI and the resource URI have overlapping folders

Example:

1. import URI: "testing/src/folder1/test.proto"
2. resource URI (that is, the file specifying the import in #1): 
"platform:/resource/testing/src/test.proto"

They both have overlapping folders: "testing" and "src". The resolved URI 
should be: "platform:/resource/testing/src/folder1/test.proto" but currently is 
"platform:/resource/testing/src/testing/src/folder1/test.proto"

Original issue reported on code.google.com by [email protected] on 9 May 2011 at 9:04

Reduce noise in Outline View

Outline View needs to group imports and options in a similar way JDT groups all 
imports in a "import declarations" node. This will remove clutter, especially 
on large .proto files with lots of imports.

Original issue reported on code.google.com by [email protected] on 13 May 2011 at 12:44

Remove Xtext's own markers

Xtext provides markers for syntax errors in the editor. We need to either 
replace them with our own markers or change the id of those markers with our 
own id.

Original issue reported on code.google.com by [email protected] on 13 Apr 2011 at 11:40

IllegalStateException: No IResourceServiceProvider found in registry for uri platform:/resource/javatest/src/folder1

1. Create 2 proto files
2. With the intention of importing one proto into the other, type `import ""` 
and hit enter.

Stack trace:
{{{

java.lang.IllegalStateException: No IResourceServiceProvider found in registry 
for uri platform:/resource/javatest/src/folder1
    at org.eclipse.xtext.scoping.impl.LoadOnDemandResourceDescriptions.getResourceDescription(LoadOnDemandResourceDescriptions.java:70)
    at org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.createLazyResourceScope(ImportUriGlobalScopeProvider.java:104)
    at org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.getScope(ImportUriGlobalScopeProvider.java:74)
    at org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.getScope(AbstractGlobalScopeProvider.java:48)
    at org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:46)
    at org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:42)
    at org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getResourceScope(ImportedNamespaceAwareLocalScopeProvider.java:96)
    at org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:89)
    at org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:87)
    at org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:87)
    at org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:87)
    at org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegateGetScope(AbstractDeclarativeScopeProvider.java:72)
    at org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.getScope(AbstractDeclarativeScopeProvider.java:102)
    at org.eclipse.xtext.linking.impl.DefaultLinkingService.getScope(DefaultLinkingService.java:59)
    at org.eclipse.xtext.linking.impl.DefaultLinkingService.getLinkedObjects(DefaultLinkingService.java:119)
    at org.eclipse.xtext.linking.lazy.LazyLinkingResource.getEObject(LazyLinkingResource.java:169)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:219)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:206)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:262)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1483)
    at com.google.eclipse.protobuf.protobuf.impl.TypeReferenceImpl.getType(TypeReferenceImpl.java:75)
    at com.google.eclipse.protobuf.ui.util.Properties.nameOfTypeIn(Properties.java:47)
    at com.google.eclipse.protobuf.ui.labeling.Labels.labelFor(Labels.java:62)
    at com.google.eclipse.protobuf.ui.labeling.Labels.labelFor(Labels.java:42)
    at com.google.eclipse.protobuf.ui.labeling.ProtobufLabelProvider.text(ProtobufLabelProvider.java:33)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
    at org.eclipse.xtext.ui.label.DeclarativeLabelProvider.doGetText(DeclarativeLabelProvider.java:49)
    at org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider.doGetText(DefaultEObjectLabelProvider.java:35)
    at org.eclipse.xtext.ui.label.AbstractLabelProvider.getStyledText(AbstractLabelProvider.java:92)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._text(DefaultOutlineTreeProvider.java:174)
    at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createEObjectNode(DefaultOutlineTreeProvider.java:112)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._createNode(DefaultOutlineTreeProvider.java:108)
    at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createNode(DefaultOutlineTreeProvider.java:104)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._createChildren(DefaultOutlineTreeProvider.java:86)
    at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291)
    at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createChildren(DefaultOutlineTreeProvider.java:77)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:80)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:1)
    at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$2.exec(AbstractOutlineNode.java:161)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$2.exec(AbstractOutlineNode.java:1)
    at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
    at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:86)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.readOnly(AbstractOutlineNode.java:158)
    at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.getChildren(AbstractOutlineNode.java:77)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.restoreChildrenSelectionAndExpansion(OutlineRefreshJob.java:68)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.restoreChildrenSelectionAndExpansion(OutlineRefreshJob.java:71)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.restoreChildrenSelectionAndExpansion(OutlineRefreshJob.java:71)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob$1.exec(OutlineRefreshJob.java:60)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob$1.exec(OutlineRefreshJob.java:1)
    at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:32)
    at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:86)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.refreshOutlineModel(OutlineRefreshJob.java:57)
    at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.run(OutlineRefreshJob.java:46)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
}}}

Original issue reported on code.google.com by [email protected] on 14 Apr 2011 at 10:28

Add support for services in grammar

Currently, protobuf-dt's grammar does not have support for 
[http://code.google.com/apis/protocolbuffers/docs/proto.html#services services].

Original issue reported on code.google.com by [email protected] on 13 Apr 2011 at 11:41

Use the location of workspace folders for import resolution

Currently, protobuf-dt searches for imported files using the paths provided by 
users. These paths can belong to workspace folders or file system folders. 

There are cases that custom file systems include only certain files in the file 
system, forcing users to specify both the workspace-related path and the file 
system one for the *same* folder.

In order to make configuration easier, import resolution should also look for 
files using the actual location of workspace folders.

Original issue reported on code.google.com by [email protected] on 27 May 2011 at 8:31

Finish outline view for proto files

Pending:

1. "syntax" element does not have icon
2. "extend" shows MessageReference as child with no name
3. "extend" needs to show target Message as its description
4. "rpc" shows MessageReferences as children with no name
5. "rpc" needs to show the arg type and return type as part of the label

Original issue reported on code.google.com by [email protected] on 7 May 2011 at 10:04

Problems with "extend"

The following produces syntax errors:

  extend proto2.Person {
    optional string name = 2;
  }

Original issue reported on code.google.com by [email protected] on 29 Apr 2011 at 5:44

Add more options for syntax coloring

Currently, protobuf-dt has very basic options for syntax coloring. It would be 
great if we had more options, for example, a different color for message 
declarations or enum declarations.

Original issue reported on code.google.com by [email protected] on 14 Apr 2011 at 5:06

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.