![]() ![]() So you can see now why I am saying that Copilot is helping me to write code faster. So this is why I can say that you do not have to change the way you code when using Copilot, just code as you usually do, and Copilot will help with some portions of the code almost "transparently". When I am using Copilot this way, I am rarely using the Copilot Window ( ctrl+enter), I am using the suggestions directly in the editor. And as you may have noticed, the suggested code is using the coding style of the project, so I do not have to change the way I code. Each section is using the session data differently:īy adding new comments in the HTML file, Copilot can suggest the code I need to add to the page, and the context of the page is used to use the proper HTML elements, a single value for the header, and a list for the detailed view. I have a page that displays the session details, and I need to add new data in different sections of the page. Here, I am using Copilot in VS Code, and I am working on a project that uses EJS templates. ![]() The following video shows how I use Copilot to add new UI components in an HTML page: In this case, Copilot is helping me a lot, providing me with suggestions in context and using the coding style of the project. However, most of the time when you are working on a project, you are not creating a new application from scratch, you are working on an existing project, and you are adding new features, or fixing bugs. This is more or less what I am showing in the next section. You can find many demonstrations of Copilot where developers are creating applications from scratch, it is pretty cool and impressive. In the video, I show the Test suggestions in Java, I have also used Copilot in Javascript for the main application and the product catalog and its API, and also some TypeScript for a new service I am creating.Ĭopilot helped me to have a good test coverage for my parser:Īs a developer, I have no excuse to not write tests anymore! Write code. then 100m, 250m 500m based on the context and the values located in the different files. It was very helpful to have the suggestions giving me 20s, 30s. ![]() In this example I only have 2 files opened:Īs you can see, the suggestions are made based on the context of the file I am working on. The following video shows, how I Copilot is using me in IntelliJ to write a test for my OAO Parser:Ĭopilot is using the context of your IDE - current file, opened tabs, project file-, this is why when I work I keep many files opened in my IDE. I have to create a file with the data I want to test, and then I have to write the test, and most of these tasks are repetitive. Writing tests for these parsers is tedious, and I have to do it for each new parser I write. faster Īs part of the WindR project, I have to write many file parsers (GPX, OAO) to extract data from files and do some calculations: top 5 500m, 10s, max speed and many more. I have not tried AWS yet, but I will soon. To make it short, WindR mixes many technologies: JavaScript, TypeScript, Java, Python, Vue, React / ReactNative, Node, Spring, MongoDB, Redis, and Containers/Docker all these are managed in GitHub repositories and deployed on various Cloud Services from Azure ( Container Apps, Azure Functions, Storage, Database), GCP ( Storage, Cloud Run) and Clever Cloud (Web, Database, Storage).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |