Upload a code snippet

Code snippet

You can now upload or type programming codes directly in your WorkDrive account. Simply copy a code from any external source and paste it to your Team Folders or My Folders to open the code in a snippet dialog box. 

The auto detect code feature in WorkDrive will identify the programming language based on the code you have entered. However, you can also choose the language from the available options.
  1. Click New and select Code Snippet.
  2. Type or paste a code snippet in the space provided. 
  3. Click the Auto detect code dropdown to choose your code language.
  4. Enter a file name and choose a location to save the file. 
  5. Click Upload.


Info
Currently, we support 28 programming languages.
Apache
Bash
Batch
C#
C
C++
CSS
CoffeeScript
Deluge
Fortran
Go
HTML
Ini
Java
JSON
Jsp
Javascript
Makefile
Markdown
Objective-C
PHP
Perl
Python
Ruby
Rust
SQL
Text
XML

Code Editor

WorkDrive now features a built-in Code Editor, enabling you to view, edit, and manage your code files seamlessly without leaving the platform. With this integrated editor, you can easily update code snippets directly in WorkDrive, removing the need for external tools.

To edit the saved code snippets:
  1. Select the code file you want to edit.
  2. Click on the More Actions icon (...) located in the top action bar.



  3. Choose Open with > Code Editor. This will open the file in the built-in Code Editor.



  4. Make the required changes to your code in the editor.
  5. Once you're done, click the Save button to update the original file with your changes.
    Alternatively, if you want to keep the original file intact, click the Save dropdown and select Save as a copy to save the modified file as a separate copy.
Info
Supported file formats for Code Editor

Zoho WorkDrive’s Code Editor supports 144 different file formats, including:

1c, adoc, ahk, aj, al, ald, alf, applescript, armasm, as, asciidoc, atom, au3, bash, bat, bf, c, capnp, cc, ceylon, clj, cmd, coffee, coffeescript, conf, conf, conf, cpp, cr, cr, cs, cson, css, d, dart, delphi, diff, dos, ds, dust, elm, erl, f90, f95, fs, fs, glsl, gms, go, golo, gradle, groovy, gsh, gvy, gy, h, haml, handlebars, haxe, hbs, hpp, hs, html, hx, iced, ini, irb, irpf90, java, js, json, jsp, lasso, less, lisp, log, lua, mak, md, mel, mk, mkd, mkdown, ml, ml, mli, mli, mm, mma, nb, nc, nsi, nsis, objc, oxygene, pde, perl, php, php3, php4, php5, php6, pl, plist, profile, prop, properties, proto, py, rb, rbw, rib, rs, rsl, rss, ruby, scad, scala, scm, scpt, scss, sh, sql, ss, st, styl, swift, tex, tex, thrift, ts, twig, typescript, v, vala, vb, vbs, vim, xhtml, xml, xpath, xq, xsl, zsh

Notes
Limitations:
  1. The Code Editor is unavailable for files larger than 1 MB.
  2. To edit a code snippet, you must have Editor or higher permission.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION





                              Quick Links Workflow Automation Data Collection
                              Web Forms Enterprise Begin Data Collection
                              Interactive Forms Workplace Data Collection App
                              CRM Forms Customer Service Accessible Forms
                              Digital Forms Marketing Forms for Small Business
                              HTML Forms Education Forms for Enterprise
                              Contact Forms E-commerce Forms for any business
                              Lead Generation Forms Healthcare Forms for Startups
                              Wordpress Forms Customer onboarding Order Forms for Small Business
                              No Code Forms Construction RSVP tool for holidays
                              Free Forms Travel
                              Prefill Forms Non-Profit

                              Intake Forms Legal
                              Mobile App
                              Form Designer HR
                              Mobile Forms
                              Card Forms Food Offline Forms
                              Assign Forms Photography
                              Mobile Forms Features
                              Translate Forms Real Estate Kiosk in Mobile Forms
                              Electronic Forms Banking 
                              Notification Emails for Forms Alternatives Security & Compliance
                              Holiday Forms Google Forms alternative  GDPR
                              Form to PDF Jotform alternative HIPAA Forms
                              Email Forms
                              Encrypted Forms
                              Embeddable Forms
                              Secure Forms
                              Drag & drop form builder
                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now




                                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                            Manage your brands on social media


                                                              • Desk Community Learning Series


                                                              • Digest


                                                              • Functions


                                                              • Meetups


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner


                                                              • Word of the Day


                                                              • Ask the Experts


                                                                Zoho Sheet Resources

                                                                 

                                                                    Zoho Forms Resources


                                                                      Secure your business
                                                                      communication with Zoho Mail


                                                                      Mail on the move with
                                                                      Zoho Mail mobile application

                                                                        Stay on top of your schedule
                                                                        at all times


                                                                        Carry your calendar with you
                                                                        Anytime, anywhere




                                                                              Zoho Sign Resources

                                                                                Sign, Paperless!

                                                                                Sign and send business documents on the go!

                                                                                Get Started Now




                                                                                        Zoho TeamInbox Resources





                                                                                                  Zoho DataPrep Demo

                                                                                                  Get a personalized demo or POC

                                                                                                  REGISTER NOW


                                                                                                    Design. Discuss. Deliver.

                                                                                                    Create visually engaging stories with Zoho Show.

                                                                                                    Get Started Now









                                                                                                                        • Related Articles

                                                                                                                        • Create embed codes for files and folders

                                                                                                                          Easily create embed codes for files and folders stored in a Team Folder or My Folders and add them to websites and blogs. External users can view, download, and print the embedded files and folders from websites and blogs. Note: Download and print ...
                                                                                                                        • Edit Team Profile

                                                                                                                          Change Team Name The team name will be displayed to all team members in the top-left corner of your WorkDrive account and in all emails that are sent from the team. To edit your team's name: Click Admin Console in the bottom-left corner of your ...
                                                                                                                        • Add or edit Team Folder description

                                                                                                                          Add a description for your Team Folder, so members will know what the Team Folder is for. You can modify the description of your Team Folder as and when your projects change. Only Admins and Organizers can add or edit Team Folder descriptions. To add ...
                                                                                                                        • Edit images with WorkDrive's built-in Image Editor

                                                                                                                          Feature availability: Available for all team and individual plans Available for all users Image editing has become an essential aspect of modern businesses, facilitating updates and collaboration, and emphasizing specific elements within images. ...
                                                                                                                        • WorkDrive Genie for Windows

                                                                                                                          The WorkDrive Genie app lets you open and edit your WorkDrive files on the web with your default desktop applications. You can open and edit any files such as documents, images, and videos with Microsoft Word, CorelDRAW, and Adobe Premiere Pro, ...
                                                                                                                          Wherever you are is as good as
                                                                                                                          your workplace

                                                                                                                            Resources

                                                                                                                            Videos

                                                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                            eBooks

                                                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                            Webinars

                                                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                            CRM Tips

                                                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                                                              Zoho Show Resources