New modern SQL editor in Microsoft Access



 Access Blog:

The A-team is thrilled to announce another feature release! We've updated the monochrome editor to the Monaco SQL editor available to all in the current channel. This blog post highlights some of the features of the new editor.

In October 2024, we added an update to the SQL editor and some key modern features. The new editor is designed to align with other Microsoft IDEs like SSMS, Visual Studio, and VS Code, leveraging the same powerful UI library behind Visual Studio Code.

The Monaco editor supports essential features such as syntax highlighting, line numbering, light/dark themes, and more. Additional capabilities include auto-completion, comment handling, and formatting support. Built using a JavaScript framework and powered by the latest Edge browser technology, the editor works seamlessly offline.

Enable/Disable the Monaco editor in your current database​

The Monaco SQL Editor can be toggled on/off. Note that the Monaco editor is only available in Access as part of Microsoft 365. Users of all other versions, including Access 2024, will continue to see the existing monochrome editor.

This setting is enabled by default for all databases and applies at the database level. For security reasons, the Monaco editor is only available on trusted databases; untrusted databases will use the previous monochrome editor.
  1. Go to File > Options > Current Database.
  2. Select or clear the Enable Monaco SQL Editor checkbox.

    bS00Mjg5NDMwLWZ5RlVyZw

Control editor font style and size​

  1. Go to File > Options > Object Designers.
  2. In the Query design section, choose the font style and font size. The default is Segoe UI 8. Note that while in the design editor, the font size may be increased using Ctrl + or decreased using Ctrl –.

    bS00Mjg5NDMwLVlzQmZ3MQ

Comment support​

In Access queries, comments are supported only at the beginning of the query text, whereas in remote SQL queries, you can add comments anywhere. Comments appear in green.

bS00Mjg5NDMwLU9xNHVnVA


Autocompletion support​

Rich autocompletion support enhances the user experience by suggesting SQL keywords, functions, table and column names dynamically as you type. Additionally, it can reference form elements to streamline query writing, making it more intuitive and efficient for developers.

bS00Mjg5NDMwLUlHeFV3Zw


Rich keyboard shortcut support​

Many familiar keyboard editing shortcuts from VS Code are now available in the Monaco SQL editor, providing a consistent and efficient workflow for developers. All available commands based on your current context are accessed using the F1 key, which opens a command palette like the one in VS Code, enabling quick navigation and command execution.

bS00Mjg5NDMwLTY1cDdjYw


More resources​

For more information about the new Monaco SQL editor, see Microsoft MVP Colin Riddington's detailed article New Monaco SQL Editor on his Access developer blog.


 Source:

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Latest Tutorials

Back
Top Bottom