![]() ![]() This had to work on new sites created with docksal.I didn't want to configure each custom website manually.On a Mac or on Linux this would work out of the box after installing docksal (or lando or whatever docker wrapper you use). I needed to find a way to re-route custom URLs to my VM. If using docksal, for example: super-awesome-client.docksal, db.super-awesome-client.docksal, etc., you get the idea. However, I normally access docker websites using custom URLs, a pretty common practice. This remote feature in Visual Studio Code gives me the full Linux experience right from the editor. Even the integrated terminal in the editor opens automatically a bash prompt in the server, a really useful feature. The result is a very responsive editor, while working remotely with all the extensions I would normally use. It works splitting the editor in two pieces, a client (the UI) and a server, where the indexing and language processing extensions run. This is not like running Dreamweaver to edit files on a server (remember?). This extension allowed me to open remote directories through SSH and work with them. The solution came on a recent iteration on Visual Studio Code: Remote code extensions, specifically, Remote Coding via SSH. Sharing it using sshfs could be an option, but then how could I control docker? Sharing source code files with the Windows host as a Samba share defeats the purpose because its bad performance, symlinks weirdness, among other things. Since I had tried WSL before (and failed), I decided to get rid of it and move directly to install a VM.Īn Ubuntu server checks first three items in the above list, but the next two can get messy. (I know, I don't use PHP Storm and don't want to). A good editor, like Sublime Text or Visual Studio Code.Be able to launch several development environments, fast, from command line, and use custom domain names to access them and its related services.Fast docker environment (without unison, I've had enough problems with it already).What means to have a productive development environment? Nothing critical really, but things that improve the experience. The drivers are optimized to work on Windows and some small features that are nice-to-have only work on this controversial OS: Login with an infrared camera ( Windows Hello), a solid workspace with several monitors (maybe this is the most important reason), better Dolby sound from the speakers and battery optimizations. The primary reasons were the usual: hardware. Recently I wrote on how I replaced my MacBook Pro with a PC and still being productive when developing on several Drupal environments.While Pop_OS! is a wonderful Linux distro, I decided to give Windows a try. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |