Well, the easiest steps would be: 1. Go to https://magento.com/tech-resources/download and download the latest 2.2.x version without sample data. You'll get a surveyform, but you can fill in what you want. 2. Unpack the downloaded archive somewhere. 3. Open NetBeans 10.x and create a PHP 7.1. projecs with existing sources, point to the 'somewhere'.
And now wait.... Op vr 4 jan. 2019 om 09:27 schreef Geertjan Wielenga < geertjan.wiele...@googlemail.com>: > Maybe you can tell us step by step how to replicate your scenario. > > Gj > > On Fri, Jan 4, 2019 at 9:26 AM Emilian Bold <emilian.b...@gmail.com> > wrote: > >> You could take some thead dump every now and then and see which class >> is running. Profiling the IDE could also show this. >> >> There are also various logs where you could increase the log level >> once you figure out which classes / packages to look further into. >> >> --emi >> >> http://coolbeans.xyz/ - CoolBeans: An IDE for Java, JavaEE, PHP and more! >> >> On Fri, Jan 4, 2019 at 10:24 AM Mondane Woodworker >> <mondane.woodwor...@gmail.com> wrote: >> > >> > I've tested this approach but it doesn't seem to improve my situation. >> The background scanning is still going on for 20 minutes now. For the other >> projects I've mentioned, this normally takes max. 5 minutes. >> > >> > Can I debug this somehow to help indicate why it's taking so long? >> > >> > Op do 3 jan. 2019 om 17:02 schreef arsi <a...@chello.sk>: >> >> >> >> Hi, >> >> >> >> The best way to speed up Netbeans is to move the netbeans_cachedir to >> RAM disk. >> >> >> >> On linux: >> >> >> >> Create a directory, for example /media/ramdisk >> >> >> >> Add to /etc/fstab line: >> >> >> >> none /media/ramdisk tmpfs defaults,user,size=2G,mode=0777 0 0 >> >> >> >> reboot >> >> >> >> Create new file /lib/systemd/system/ramdisk.service >> >> >> >> [Unit] >> >> Description=RAM-Disk Manager >> >> Before=umount.target >> >> >> >> [Service] >> >> Type=oneshot >> >> RemainAfterExit=yes >> >> User=root >> >> ExecStart=/usr/bin/rsync -ar /ssd/ramdisk-backup/ /media/ramdisk/ >> >> ExecStop=/usr/bin/rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/ >> >> >> >> [Install] >> >> WantedBy=multi-user.target >> >> >> >> Replace /ssd/ramdisk-backup/ with a location on the HDD where the >> contents of the RAM disk will be saved when the computer is shut down.. >> >> >> >> >> >> sudo apt install rsync >> >> >> >> sudo systemctl enable ramdisk.service >> >> >> >> Menu Netbeans -> About -> Cache directory >> >> And turn off netbeans. >> >> >> >> copy all directories from Cache directory to /media/ramdisk except >> mavencachedirs and mavenindex. >> >> >> >> For the mavencachedirs and mavenindex, create a symlink. The size of >> the two directories are huge. >> >> >> >> sudo rsync -ar /media/ramdisk/ /ssd/ramdisk-backup/ first backup... >> >> >> >> sudo systemctl start ramdisk.service >> >> >> >> now ...netbeans_dir/etc/netbeans.conf >> >> >> >> netbeans_default_cachedir="/media/ramdisk" >> >> >> >> >> >> Run netbeans and enjoy the speed :) >> >> >> >> ArSi >> >> >> >> ________________________________ >> >> From: Mondane Woodworker <mondane.woodwor...@gmail.com> >> >> Sent: Thursday, January 03, 2019 3:18PM >> >> >> >> Cc: Users <us...@netbeans.incubator.apache.org> >> >> Subject: Re: [PHP] NB8.2 / NB10.0 long background scanning Magento 2 >> projects >> >> >> >> Excluding the vendor folder is not really an option as I need NetBeans >> to know which classes are available. From the video, I added nodejs and >> node_modules to the ignored files pattern. I'll look into the magento >> modules to see if more can be ignored, I've ignored tests already, this >> saves ~8000 files >> >> >> >> Op do 3 jan. 2019 om 12:25 schreef Geertjan Wielenga < >> geertjan.wiele...@googlemail.com>: >> >>> >> >>> Maybe you can exclude the 'vendor' folder from scanning as explained >> here: >> >>> >> >>> https://www.youtube.com/watch?v=iBCid5KQDA8 >> >>> >> >>> Gj >> >>> >> >>> On Thu, Jan 3, 2019 at 12:23 PM Mondane Woodworker < >> mondane.woodwor...@gmail.com> wrote: >> >>>> >> >>>> Hello, >> >>>> >> >>>> Since a few months, I started developing Magento 2 shops in NetBeans >> 8.2 and 10.0 . I've noticed the background scanning of such projects takes >> a long time and stays on 50%. >> >>>> >> >>>> This is after I've performed a composer install to have a /vendor >> folder with all the Magento 2 packages. >> >>>> >> >>>> I don't have this problem when building something on Zend Framework >> 2/3 or symfony 2+. >> >>>> >> >>>> Do more users experience this? >> >>>> >> >>>> NB I'm using a laptop with SSD's. >> >>>> >> >>>> Regards, >> >>>> Mondane >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: users-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >>