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 LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                      All-in-one knowledge management and training platform for your employees and customers.

                                                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 and manage embed codes

                                                                                                                                    Embed codes allow you to share files or folders by embedding them directly into websites, blogs, or portals. Instead of sharing a download or access link, embedding lets external users preview content within your site while you control how the ...
                                                                                                                                  • 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 ...
                                                                                                                                  • Sharing files and folders: an overview

                                                                                                                                    The Share feature lets you give access to files and folders in multiple ways based on how you want others to collaborate. You can share content directly with team members or groups, generate links for internal or external access, send files to ...
                                                                                                                                  • Zoho CRM - WorkDrive Integration

                                                                                                                                    WorkDrive serves as the central repository of all your files, enabling you to manage your files better. Zoho CRM is tightly integrated with WorkDrive. The Documents tab in CRM is powered by WorkDrive (previously by Docs). Any files and folders you ...
                                                                                                                                  • Setting up Webhooks in WorkDrive using Custom Apps

                                                                                                                                    Enhance organization's security, boost productivity, improve usability and achieve much more with WorkDrive's Custom Apps! As an Admin or Super admin of a WorkDrive team, you now have the ability to create and manage custom apps directly from the ...
                                                                                                                                    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