Note: Please note that if your .proto file imports external .proto files, such as google/protobuf/empty.proto, the navigation process might be slower.
Setting the Service File
There are two ways to set the service file in this extension:
Allow the extension to search for the service file within the parent directory of the current .proto file and its subdirectories. This method specifically looks for files ending with service.cs. Please note that this method may have slightly lower performance compared to the second method due to the file searching process.
Use the extension.setProtoServiceFile command. This allows you to manually specify the service file.
Extension Settings
This extension contributes the following settings:
extension.setProtoServiceFile: This command allows you to set the service file location in a .proto file. To use it, press F1 and type Set Proto Service File. This will insert the following line at the second line of the current file: