Added language
This commit is contained in:
		
							
								
								
									
										22
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								package.json
									
									
									
									
									
								
							@@ -2,7 +2,7 @@
 | 
			
		||||
    "name": "frog",
 | 
			
		||||
    "displayName": "frog",
 | 
			
		||||
    "description": "The Oracle SQL workbench for VSCode",
 | 
			
		||||
    "version": "0.0.5",
 | 
			
		||||
    "version": "0.0.6",
 | 
			
		||||
    "publisher": "todie",
 | 
			
		||||
    "engines": {
 | 
			
		||||
        "vscode": "^1.17.0"
 | 
			
		||||
@@ -40,7 +40,25 @@
 | 
			
		||||
					"name": "Connections"
 | 
			
		||||
				}
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
        },
 | 
			
		||||
        "languages": [
 | 
			
		||||
            {
 | 
			
		||||
                "id": "frog-runner",
 | 
			
		||||
                "aliases": [],
 | 
			
		||||
                "extensions": [],
 | 
			
		||||
                "mimetypes": [
 | 
			
		||||
                    "text/x-code-output",
 | 
			
		||||
                    "x-code-output"
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        ],
 | 
			
		||||
        "grammars": [
 | 
			
		||||
            {
 | 
			
		||||
                "language": "frog-runner",
 | 
			
		||||
                "scopeName": "code.log",
 | 
			
		||||
                "path": "./src/syntaxes/frog-runner.tmLanguage"
 | 
			
		||||
            }
 | 
			
		||||
        ]
 | 
			
		||||
    },
 | 
			
		||||
    "scripts": {
 | 
			
		||||
        "vscode:prepublish": "npm run compile",
 | 
			
		||||
 
 | 
			
		||||
@@ -69,7 +69,7 @@ export function activate(context: vscode.ExtensionContext) {
 | 
			
		||||
                try {
 | 
			
		||||
                    let json = JSON.parse(outputBuffer);
 | 
			
		||||
 | 
			
		||||
                    console.log(json);
 | 
			
		||||
                    //console.log(json);
 | 
			
		||||
 | 
			
		||||
                    const diagnostics = [];
 | 
			
		||||
                    let cd = json['columnDefinitions']
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										24
									
								
								src/syntaxes/frog-runner.tmLanguage
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								src/syntaxes/frog-runner.tmLanguage
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 | 
			
		||||
<plist version="1.0">
 | 
			
		||||
    <dict>
 | 
			
		||||
        <key>scopeName</key>
 | 
			
		||||
        <string>code.log</string>
 | 
			
		||||
        <key>fileTypes</key>
 | 
			
		||||
        <array>
 | 
			
		||||
            <string>log</string>
 | 
			
		||||
        </array>
 | 
			
		||||
        <key>name</key>
 | 
			
		||||
        <string>Log file</string>
 | 
			
		||||
        <key>patterns</key>
 | 
			
		||||
        <array>
 | 
			
		||||
            <dict>
 | 
			
		||||
                <!-- Date lines -->
 | 
			
		||||
                <key>match</key>
 | 
			
		||||
                <string>--.*</string>
 | 
			
		||||
                <key>name</key>
 | 
			
		||||
                <string>string.quoted</string>
 | 
			
		||||
            </dict>
 | 
			
		||||
        </array>
 | 
			
		||||
    </dict>
 | 
			
		||||
</plist>
 | 
			
		||||
		Reference in New Issue
	
	Block a user