digital-cognition-co-in / DigitalCognition

DigitalCognition - Main repo - Core Product
3 stars 2 forks source link

Code Mirror - Editor Instance - Refactor and fix existing code - also AutoComplete for SQL Mode #54

Open RohitDhankar opened 4 years ago

RohitDhankar commented 4 years ago

New feature to be coded from scratch - 1/ Use Code Mirror = https://codemirror.net/doc/manual.html 2/ Create a Code Mirror - Editor Instance 3/ Auto Complete for SQL Mode

Old code references within existing code base - 1/ Url's within Url.py = Line 165 to 174 https://github.com/digital-cognition-co-in/DigitalCognition/blob/a120408b94ef93ec574a7a77603e81644160efba/dc_dash/urls.py#L165

2/ Old HTML test pages a) CodeMirror autoComplete = dc_dash/templates/dc_dash/dc_autoCompleteTest.html b) dc_dash/templates/dc_dash/codeMirror_test2.html c) dc_dash/templates/dc_dash/codeMirror_test1.html

noob-master147 commented 4 years ago

<!DOCTYPE html>

Digital Cognition
noob-master147 commented 4 years ago

This code works for AutoCompletion, code hinting on SQL queries @RohitDhankar