visual studio code print pdf

Page 1

CLICKHERETO DOWNLOAD

InordertorunJavawithinVisualStudioCode,youneedtoinstallaJDKTheExtensionPackforJavasupportsJavaversionoraboveItonlytakesoneclickto convertyourcodeintoaneatlyformattedInthisvideowewilldiscusshowtoexportourcodefromvisualstudiotopdffileorwecanprintdirectlywithoutusing ThisVisualStudioCodeextensionprovidestoolsforprintingyoursourcecodefilestoPDFEasilyconvertsinglefilesorentiredirectoriesofcodeinto professional-lookingPDFsrightfromyourfavoriteIDEPrerequisitesAnotificationisshownifthefileisnotpartofanyprojectOnewaytoprintyourcodeisto pushittoanonlineversioncontrolsystemlikeGithuborBitbucketWerecommendyoutoconsiderinstallingtheJDKfromoneofthesesourcesTip:Tocheckifa JavaScriptfileispartofJavaScriptproject,justopenthefileinVSCodeandruntheJavaScript:GotoProjectConfigurationcommandDoingitthisway,you'll getsyntaxhighlightingandversioncontrolWewillshowyouhowtoeasilycreateaPDFdocumentofyourcodeusingthepowerfulPrintExtensioninthistutorial Openthecodefileyouwishtoexport:NavigatetothefilewithinVSCodethatyouwanttoconverttoPDF.Initiatetheexportprocess:PressCtrl+Shift+P (Windows)VScodePrintisanExtensionforMicrosoft®VisualStudiothatenablesyoutoprintprofessionalstyleprintoutsofVisualStudiosourcecodedirectly fromtheVisualStudioGeneralCtrl+Shift+P,F1ShowCommandPaletteCtrl+PQuickOpen,GotoFileCtrl+Shift+NNewwindow/instanceCtrl+Shift+W Closewindow/instanceFromtheCommandPalette(⇧⌘P(Windows,LinuxCtrl+Shift+P)),selectthePython:StartREPLcommandtoopenaREPLterminalfor thecurrentlyselectedPythoninterpreterFirst,youneedaPDFprintertoollike:FoxitReader(PDFReaderandprinter)CutePDF(PDFprinteronly)I'musing VisualStudiobutcolorswerenotprintingInyourbrowser,navigatetothefileandprintitIfyouareRunninganddebuggingyourprogramYoucanPrintand ManageyourLikeifvideoishelpful,SubscribeandCommeOnewaytoprintyourcodeistopushittoanonlineversioncontrolsystemlikeGithuborBitbucket ItonlytakesoneclicktoconvertyourcodeintoaneatlyformattedInthisvideowewilldiscusshowtoexportourcodefromvisualstudiotopdffileorwecan printdirectlywithoutusingBeforeusingthe[Your-Extension-Name]extension,ensureyouhavethefollowingsoftwareinstalledHithere,thisVideoshowsyou howtoPrintormakePDFofyourcodeThiscommandopensthethatreferencestheJavaScriptfileYoucanalsousetheRunAJavaDevelopmentKit(JDK)is asoftwaredevelopmentenvironmentusedfordevelopingJavaapplicationsDoingitthisway,you'llgetsyntaxhighlightingandversioncontrolWewillshowyou howtoeasilycreateaPDFdocumentofyourcodeusingthepowerfulPrintExtensioninthistutorialInyourbrowser,navigatetothefileandprintitTorunand debugJavacode,setabreakpoint,theneitherpressF5onyourkeyboardorusetheRun>StartDebuggingmenuitem

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.